projects
/
akkoma
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1dd2c81
)
Fix register_user task.
author
lain
<lain@soykaf.club>
Tue, 10 Apr 2018 19:05:53 +0000
(21:05 +0200)
committer
lain
<lain@soykaf.club>
Tue, 10 Apr 2018 19:05:53 +0000
(21:05 +0200)
lib/mix/tasks/register_user.ex
patch
|
blob
|
history
diff --git
a/lib/mix/tasks/register_user.ex
b/lib/mix/tasks/register_user.ex
index 48236439b2cf8c459eb72d73a6a47bccbbc52833..4bec6b9d9c5c59f471b7e4d295a0d6f964b02fbd 100644
(file)
--- 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,