projects
/
akkoma
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
remove PurgeExpiredActivity from Oban db config
[akkoma]
/
lib
/
pleroma
/
workers
/
transmogrifier_worker.ex
diff --git
a/lib/pleroma/workers/transmogrifier_worker.ex
b/lib/pleroma/workers/transmogrifier_worker.ex
index 11239ca5e68f4283e502c72f39f4fe8a6af6734f..15f36375c23c522af79715717c9ac3e80268f09a 100644
(file)
--- a/
lib/pleroma/workers/transmogrifier_worker.ex
+++ b/
lib/pleroma/workers/transmogrifier_worker.ex
@@
-8,7
+8,7
@@
defmodule Pleroma.Workers.TransmogrifierWorker do
use Pleroma.Workers.WorkerHelper, queue: "transmogrifier"
@impl Oban.Worker
use Pleroma.Workers.WorkerHelper, queue: "transmogrifier"
@impl Oban.Worker
- def perform(%
{"op" => "user_upgrade", "user_id" => user_id}, _job
) do
+ def perform(%
Job{args: %{"op" => "user_upgrade", "user_id" => user_id}}
) do
user = User.get_cached_by_id(user_id)
Pleroma.Web.ActivityPub.Transmogrifier.perform(:user_upgrade, user)
end
user = User.get_cached_by_id(user_id)
Pleroma.Web.ActivityPub.Transmogrifier.perform(:user_upgrade, user)
end