projects
/
akkoma
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge branch 'develop' into feature/digest-email
[akkoma]
/
lib
/
pleroma
/
digest_email_worker.ex
diff --git
a/lib/pleroma/digest_email_worker.ex
b/lib/pleroma/digest_email_worker.ex
index f7b3d81cd66a61f2e580fc8a4a4a90b34d5908fc..8c28dca180fe3cd4447af1958af092c7a71c30c4 100644
(file)
--- a/
lib/pleroma/digest_email_worker.ex
+++ b/
lib/pleroma/digest_email_worker.ex
@@
-18,9
+18,9
@@
defmodule Pleroma.DigestEmailWorker do
|> run()
end
- def
p
run([]), do: :ok
+ def run([]), do: :ok
- def
p
run([user | users]) do
+ def run([user | users]) do
with %Swoosh.Email{} = email <- Pleroma.Emails.UserEmail.digest_email(user) do
Pleroma.Emails.Mailer.deliver_async(email)
end