projects
/
akkoma
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
958cf5d
)
set_moderator: ensureall applications are started.
author
eal
<eal@waifu.club>
Tue, 12 Jun 2018 12:42:40 +0000
(15:42 +0300)
committer
eal
<eal@waifu.club>
Tue, 12 Jun 2018 12:42:40 +0000
(15:42 +0300)
lib/mix/tasks/make_moderator.ex
patch
|
blob
|
history
diff --git
a/lib/mix/tasks/make_moderator.ex
b/lib/mix/tasks/make_moderator.ex
index 4d427cfd8f40543c5380697bb80b374912d865d3..a454a958e004e5450ab706e21a8cb7a0a5a84137 100644
(file)
--- a/
lib/mix/tasks/make_moderator.ex
+++ b/
lib/mix/tasks/make_moderator.ex
@@
-5,7
+5,7
@@
defmodule Mix.Tasks.SetModerator do
@shortdoc "Set moderator status"
def run([nickname | rest]) do
-
ensure_started(Repo, []
)
+
Application.ensure_all_started(:pleroma
)
moderator =
case rest do