set_moderator: ensureall applications are started.

This commit is contained in:
eal 2018-06-12 15:42:40 +03:00
parent 958cf5da94
commit 3326205f95
1 changed files with 1 additions and 1 deletions

View File

@ -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