Files
open-webui-ai4me/backend
Alvin Tangandgambletan 3e513be963 fix: prevent TypeError in Teams webhook when user data is missing (#22444)
json.loads(event_data.get("user", {})) crashes with TypeError when
the "user" key is absent because the default value {} is a dict, not
a JSON string. json.loads expects str/bytes, not dict.

Also handle the case where "user" is already a dict (not serialized
JSON) to make the webhook more robust.

Co-authored-by: gambletan <ethanchang32@gmail.com>
2026-03-08 16:45:21 -05:00
..
2025-09-12 14:09:32 +08:00
2026-03-07 17:12:22 -06:00
2025-10-07 16:20:27 -05:00