Files
open-webui/backend/open_webui
Alvin Tang 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
..
2026-03-07 20:14:32 -06:00
2026-03-07 20:22:01 -06:00
2026-03-08 16:41:21 -05:00
2025-08-10 00:02:58 +04:00
2026-02-11 16:24:11 -06:00
2026-02-21 14:19:28 -06:00
2026-03-07 18:18:02 -06:00
2025-04-15 09:55:35 +02:00
2026-03-07 20:05:18 -06:00
2026-03-06 20:12:37 -06:00
2026-02-11 16:24:11 -06:00
2026-02-12 15:29:34 -06:00