Silence json key duplicate warning from api/web/push_subscriptions (#35481)

This commit is contained in:
Matt Jankowski authored and GitHub committed 2025-07-24 07:33:53 +00:00
1 parent 7f9ad7eabf
commit 4241ce9888
1 file changed
+1 -1
@@ -49,7 +49,7 @@ class Api::Web::PushSubscriptionsController < Api::Web::BaseController
{
policy: 'all',
alerts: Notification::TYPES.index_with { alerts_enabled },
}
}.deep_stringify_keys
end
def alerts_enabled