forked from mirrors/akkoma
lib/mix/tasks/relay_{un,}follow.ex: Support status reply of Relay.{un,}follow
This commit is contained in:
parent
265c8c5209
commit
7fbfd2db96
2 changed files with 2 additions and 2 deletions
|
@ -14,7 +14,7 @@ defmodule Mix.Tasks.RelayFollow do
|
|||
def run([target]) do
|
||||
Mix.Task.run("app.start")
|
||||
|
||||
:ok = Relay.follow(target)
|
||||
_status = Relay.follow(target)
|
||||
|
||||
# put this task to sleep to allow the genserver to push out the messages
|
||||
:timer.sleep(500)
|
||||
|
|
|
@ -13,7 +13,7 @@ defmodule Mix.Tasks.RelayUnfollow do
|
|||
def run([target]) do
|
||||
Mix.Task.run("app.start")
|
||||
|
||||
:ok = Relay.unfollow(target)
|
||||
_status = Relay.unfollow(target)
|
||||
|
||||
# put this task to sleep to allow the genserver to push out the messages
|
||||
:timer.sleep(500)
|
||||
|
|
Loading…
Reference in a new issue