mirror of
https://github.com/mastodon/mastodon.git
synced 2026-04-26 01:43:00 -05:00
Use to_json call in web/push notification worker (#38233)
This commit is contained in:
parent
0c75e97345
commit
f460ad611a
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user