fix: a removed webhook carried over from before v0.11 stays removed (#33295)

This commit is contained in:
G30 authored and GitHub committed 2026-10-29 02:22:02 +09:00
1 parent ff53208e86
commit 0ac55c8e72
1 file changed
+1 -1
+1 -1
View File
@@ -109,7 +109,7 @@ async def _load_notifications(user_id: str) -> dict[str, Any]:
).strip()
if not isinstance(targets, list) or not targets:
if legacy_url:
if legacy_url and not notifications.get('legacy_notification_events_migrated'):
target = _normalize_target(
{
'id': DEFAULT_TARGET_ID,