set_moderator: ensureall applications are started.
This commit is contained in:
parent
958cf5da94
commit
3326205f95
|
@ -5,7 +5,7 @@ defmodule Mix.Tasks.SetModerator do
|
||||||
|
|
||||||
@shortdoc "Set moderator status"
|
@shortdoc "Set moderator status"
|
||||||
def run([nickname | rest]) do
|
def run([nickname | rest]) do
|
||||||
ensure_started(Repo, [])
|
Application.ensure_all_started(:pleroma)
|
||||||
|
|
||||||
moderator =
|
moderator =
|
||||||
case rest do
|
case rest do
|
||||||
|
|
Loading…
Reference in New Issue