Use to_json call in web/push notification worker (#38233)

This commit is contained in:
Matt Jankowski authored and GitHub committed 2026-03-16 15:12:38 +00:00
1 parent 0c75e97345
commit f460ad611a
1 file changed
+1 -1
+1 -1
View File
@@ -101,7 +101,7 @@ class Web::PushNotificationWorker
def push_notification_json
I18n.with_locale(@subscription.locale.presence || I18n.default_locale) do
Oj.dump(serialized_notification.as_json)
serialized_notification.to_json
end
end