From b910483c16e231f107d0c4e8c76f60a6a1bd1a79 Mon Sep 17 00:00:00 2001 From: lain Date: Tue, 10 Apr 2018 21:05:53 +0200 Subject: [PATCH] Fix register_user task. --- lib/mix/tasks/register_user.ex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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,