projects
/
akkoma
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix atom leak in AdminAPIController
[akkoma]
/
lib
/
pleroma
/
workers
/
web_pusher_worker.ex
diff --git
a/lib/pleroma/workers/web_pusher_worker.ex
b/lib/pleroma/workers/web_pusher_worker.ex
index 58ad25e399199d957b74e23bfba70d1efacadfdd..0cfdc6a6f80ddea9e996bf02bce4044563f174ce 100644
(file)
--- a/
lib/pleroma/workers/web_pusher_worker.ex
+++ b/
lib/pleroma/workers/web_pusher_worker.ex
@@
-9,7
+9,7
@@
defmodule Pleroma.Workers.WebPusherWorker do
use Pleroma.Workers.WorkerHelper, queue: "web_push"
@impl Oban.Worker
use Pleroma.Workers.WorkerHelper, queue: "web_push"
@impl Oban.Worker
- def perform(%
{"op" => "web_push", "notification_id" => notification_id}, _job
) do
+ def perform(%
Job{args: %{"op" => "web_push", "notification_id" => notification_id}}
) do
notification =
Notification
|> Repo.get(notification_id)
notification =
Notification
|> Repo.get(notification_id)