From: lain Date: Tue, 10 Apr 2018 19:05:53 +0000 (+0200) Subject: Fix register_user task. X-Git-Url: https://git.squeep.com/?a=commitdiff_plain;h=b910483c16e231f107d0c4e8c76f60a6a1bd1a79;p=akkoma Fix register_user task. --- diff --git a/lib/mix/tasks/register_user.ex b/lib/mix/tasks/register_user.ex index 48236439b..4bec6b9d9 100644 --- a/lib/mix/tasks/register_user.ex +++ b/lib/mix/tasks/register_user.ex @@ -5,7 +5,7 @@ defmodule Mix.Tasks.RegisterUser do @shortdoc "Register user" def run([name, nickname, email, bio, password]) do - ensure_started(Repo, []) + Mix.Task.run("app.start") params = %{ name: name,