From 6c73136aeca26357b405058e338d8020dc0dfe4e Mon Sep 17 00:00:00 2001 From: Rin Toshaka Date: Sat, 8 Dec 2018 08:30:34 +0100 Subject: [PATCH] [#283] Mix Tasks: Fix a typo in relay.ex --- lib/mix/tasks/pleroma/relay.ex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/mix/tasks/pleroma/relay.ex b/lib/mix/tasks/pleroma/relay.ex index 2502923af..f4b7ff6a0 100644 --- a/lib/mix/tasks/pleroma/relay.ex +++ b/lib/mix/tasks/pleroma/relay.ex @@ -33,7 +33,7 @@ defmodule Mix.Tasks.Pleroma.Relay do def run(["unfollow", target]) do Common.start_pleroma() - with {:ok, activity} <- Relay.follow(target) do + with {:ok, activity} <- Relay.unfollow(target) do # put this task to sleep to allow the genserver to push out the messages :timer.sleep(500) else