mirror of
https://github.com/glitch-soc/mastodon.git
synced 2026-03-29 03:00:33 +02:00
Use JSON.generate call in push update worker (#38208)
This commit is contained in:
@@ -23,10 +23,10 @@ class PushUpdateWorker
|
||||
end
|
||||
|
||||
def message
|
||||
Oj.dump(
|
||||
JSON.generate({
|
||||
event: update? ? :'status.update' : :update,
|
||||
payload: @payload
|
||||
)
|
||||
payload: @payload,
|
||||
}.as_json)
|
||||
end
|
||||
|
||||
def publish!
|
||||
|
||||
Reference in New Issue
Block a user