diff options
author | eal <eal@waifu.club> | 2018-06-12 15:42:40 +0300 |
---|---|---|
committer | eal <eal@waifu.club> | 2018-06-12 15:42:40 +0300 |
commit | 3326205f95106e7ebabc544c704f28ca2e12f4b2 (patch) | |
tree | 9157d23e966bbb6a2a07a71a529d7dd441b2bf55 | |
parent | 958cf5da946d6134f46eabd84aaa5abd37f88d2f (diff) | |
download | pleroma-3326205f95106e7ebabc544c704f28ca2e12f4b2.tar.gz |
set_moderator: ensureall applications are started.
-rw-r--r-- | lib/mix/tasks/make_moderator.ex | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/mix/tasks/make_moderator.ex b/lib/mix/tasks/make_moderator.ex index 4d427cfd8..a454a958e 100644 --- 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 |