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"
|
@shortdoc "Register user"
|
||||||
def run([name, nickname, email, bio, password]) do
|
def run([name, nickname, email, bio, password]) do
|
||||||
ensure_started(Repo, [])
|
Mix.Task.run("app.start")
|
||||||
|
|
||||||
params = %{
|
params = %{
|
||||||
name: name,
|
name: name,
|
||||||
|
|
Loading…
Reference in New Issue