diff options
author | Haelwenn (lanodan) Monnier <contact@hacktivis.me> | 2018-11-10 14:55:32 +0100 |
---|---|---|
committer | Haelwenn (lanodan) Monnier <contact@hacktivis.me> | 2018-11-17 20:25:56 +0100 |
commit | 7fbfd2db964ba9d6eac0d6ccd9b5fd94ee38df6f (patch) | |
tree | cf8ecee6b6a5a2d41f66679f587a9ee22c881e18 | |
parent | 265c8c520974aa502606506a2722bb6bce04c38c (diff) | |
download | pleroma-7fbfd2db964ba9d6eac0d6ccd9b5fd94ee38df6f.tar.gz |
lib/mix/tasks/relay_{un,}follow.ex: Support status reply of Relay.{un,}follow
-rw-r--r-- | lib/mix/tasks/relay_follow.ex | 2 | ||||
-rw-r--r-- | lib/mix/tasks/relay_unfollow.ex | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/mix/tasks/relay_follow.ex b/lib/mix/tasks/relay_follow.ex index 4d57c6bca..61280d084 100644 --- a/lib/mix/tasks/relay_follow.ex +++ b/lib/mix/tasks/relay_follow.ex @@ -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) diff --git a/lib/mix/tasks/relay_unfollow.ex b/lib/mix/tasks/relay_unfollow.ex index bd69fd8a0..6aa67590b 100644 --- a/lib/mix/tasks/relay_unfollow.ex +++ b/lib/mix/tasks/relay_unfollow.ex @@ -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) |