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

This commit is contained in:
Matt Jankowski 2026-03-16 11:12:38 -04:00 committed by GitHub
parent 0c75e97345
commit f460ad611a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

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