mirror of
https://github.com/glitch-soc/mastodon.git
synced 2026-03-29 03:00:33 +02:00
Use to_json call in web/push notification worker (#38233)
This commit is contained in:
@@ -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