From 3326205f95106e7ebabc544c704f28ca2e12f4b2 Mon Sep 17 00:00:00 2001 From: eal Date: Tue, 12 Jun 2018 15:42:40 +0300 Subject: [PATCH] set_moderator: ensureall applications are started. --- lib/mix/tasks/make_moderator.ex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.45.2