Fix register_user task.
This commit is contained in:
parent
1dd2c8163f
commit
b910483c16
|
@ -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,
|
||||
|
|
Loading…
Reference in a new issue