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

This commit is contained in:
Matt Jankowski 2025-07-24 03:33:53 -04:00 committed by GitHub
parent 7f9ad7eabf
commit 4241ce9888
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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