forked from AkkomaGang/akkoma
Fix register_user task.
This commit is contained in:
parent
1dd2c8163f
commit
b910483c16
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue