projects
/
akkoma
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
HTTP: Implement max request limits
[akkoma]
/
lib
/
pleroma
/
workers
/
mailer_worker.ex
diff --git
a/lib/pleroma/workers/mailer_worker.ex
b/lib/pleroma/workers/mailer_worker.ex
index 6955338a5014bcfc7168a58c4a19617fc17c5296..32273cfa55ea5a6382d958a92e8ceb993733c846 100644
(file)
--- a/
lib/pleroma/workers/mailer_worker.ex
+++ b/
lib/pleroma/workers/mailer_worker.ex
@@
-6,7
+6,7
@@
defmodule Pleroma.Workers.MailerWorker do
use Pleroma.Workers.WorkerHelper, queue: "mailer"
@impl Oban.Worker
use Pleroma.Workers.WorkerHelper, queue: "mailer"
@impl Oban.Worker
- def perform(%
{"op" => "email", "encoded_email" => encoded_email, "config" => config}, _job
) do
+ def perform(%
Job{args: %{"op" => "email", "encoded_email" => encoded_email, "config" => config}}
) do
encoded_email
|> Base.decode64!()
|> :erlang.binary_to_term()
encoded_email
|> Base.decode64!()
|> :erlang.binary_to_term()