diff options
author | Mark Felder <feld@FreeBSD.org> | 2020-09-24 18:23:47 -0500 |
---|---|---|
committer | Mark Felder <feld@FreeBSD.org> | 2020-09-24 18:23:47 -0500 |
commit | e33360fdb958708661a5bda415b9f06b5e1290d5 (patch) | |
tree | 650368c88b6f0f61184473b411fbd912d3bb606c | |
parent | 935ef21b0285975b08037827a33f32bfcbbff951 (diff) | |
download | pleroma-e33360fdb958708661a5bda415b9f06b5e1290d5.tar.gz |
Cannot use batches with User.try_send_confirmation_email/1
-rw-r--r-- | lib/mix/tasks/pleroma/email.ex | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/mix/tasks/pleroma/email.ex b/lib/mix/tasks/pleroma/email.ex index 0e4c87598..9e989ed46 100644 --- a/lib/mix/tasks/pleroma/email.ex +++ b/lib/mix/tasks/pleroma/email.ex @@ -31,7 +31,7 @@ defmodule Mix.Tasks.Pleroma.Email do confirmation_pending: true, invisible: false }) - |> Pleroma.Repo.chunk_stream(500, :batches) + |> Pleroma.Repo.chunk_stream(500) |> Stream.each(&Pleroma.User.try_send_confirmation_email(&1)) |> Stream.run() end |