lib/mix/tasks/unsubscribe_user.ex: Fix syntax from bad line copy
This commit is contained in:
parent
64c0289893
commit
5e3207045e
@ -11,7 +11,6 @@ defmodule Mix.Tasks.UnsubscribeUser do
|
|||||||
Example: ``mix unsubscribe_user lain``
|
Example: ``mix unsubscribe_user lain``
|
||||||
"""
|
"""
|
||||||
def run([nickname]) do
|
def run([nickname]) do
|
||||||
def run([nickname]) do
|
|
||||||
Mix.Task.run("app.start")
|
Mix.Task.run("app.start")
|
||||||
|
|
||||||
with %User{} = user <- User.get_by_nickname(nickname) do
|
with %User{} = user <- User.get_by_nickname(nickname) do
|
||||||
|
Loading…
Reference in New Issue
Block a user