Fix register_user task.

This commit is contained in:
lain 2018-04-10 21:05:53 +02:00
parent 1dd2c8163f
commit b910483c16

View File

@ -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,