From: eal Date: Tue, 12 Jun 2018 12:42:40 +0000 (+0300) Subject: set_moderator: ensureall applications are started. X-Git-Url: https://git.squeep.com/?a=commitdiff_plain;h=3326205f95106e7ebabc544c704f28ca2e12f4b2;p=akkoma set_moderator: ensureall applications are started. --- 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