Use to_json call in web/push notification worker (#38233)
This commit is contained in:
1 parent
0c75e97345
commit
f460ad611a
1 file changed
+1
-1
@@ -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
|
||||
|
||||
|
||||
Reference in new issue
Block a user