Files
open-webui/backend/open_webui/utils
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-02 17:26:18 -06:00
2026-02-11 16:40:40 -06:00
2026-02-21 15:35:34 -06:00
2026-02-11 16:24:11 -06:00
2026-02-19 16:29:19 -06:00
2026-02-16 15:32:28 -06:00
2026-02-11 16:24:11 -06:00
2026-02-11 16:24:11 -06:00
2026-01-28 01:18:39 +04:00
2025-12-29 00:21:18 +04:00
2026-02-06 03:23:37 +04:00
2026-03-07 20:43:45 -06:00
2026-02-27 16:03:12 -06:00
2026-03-07 20:14:32 -06:00
2026-02-22 17:11:50 -06:00
2026-02-21 15:35:34 -06:00
2025-12-02 03:52:38 -05:00
2026-02-23 18:23:34 -06:00
2026-02-11 16:24:11 -06:00
2026-02-24 14:47:28 -06:00
2026-02-11 16:24:11 -06:00
2026-03-07 19:31:51 -06:00
2026-02-11 16:24:11 -06:00