From 6450ad337015115f152a9c98878e4acbf0f0649f Mon Sep 17 00:00:00 2001 From: Paul Woolcock Date: Sun, 5 May 2019 07:20:31 -0400 Subject: [PATCH] Block and Unblock should be `post` calls --- src/lib.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/lib.rs b/src/lib.rs index 48c43c3..b30b37d 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -250,8 +250,8 @@ impl MastodonClient for Mastodon { (get) get_account: "accounts/{}" => Account, (post) follow: "accounts/{}/follow" => Relationship, (post) unfollow: "accounts/{}/unfollow" => Relationship, - (get) block: "accounts/{}/block" => Relationship, - (get) unblock: "accounts/{}/unblock" => Relationship, + (post) block: "accounts/{}/block" => Relationship, + (post) unblock: "accounts/{}/unblock" => Relationship, (get) mute: "accounts/{}/mute" => Relationship, (get) unmute: "accounts/{}/unmute" => Relationship, (get) get_notification: "notifications/{}" => Notification,