From 4241ce9888a632ed10ac792fc4fa4d3fb3aea41f Mon Sep 17 00:00:00 2001 From: Matt Jankowski Date: Thu, 24 Jul 2025 03:33:53 -0400 Subject: [PATCH] Silence json key duplicate warning from `api/web/push_subscriptions` (#35481) --- app/controllers/api/web/push_subscriptions_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controllers/api/web/push_subscriptions_controller.rb b/app/controllers/api/web/push_subscriptions_controller.rb index 2711071b4a5..ced68d39fc7 100644 --- a/app/controllers/api/web/push_subscriptions_controller.rb +++ b/app/controllers/api/web/push_subscriptions_controller.rb @@ -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