diff options
author | Paul Woolcock <paul@woolcock.us> | 2019-05-05 07:20:31 -0400 |
---|---|---|
committer | Paul Woolcock <paul@woolcock.us> | 2019-05-05 07:20:31 -0400 |
commit | 6450ad337015115f152a9c98878e4acbf0f0649f (patch) | |
tree | dcd2a73d01885b7eee70521f23e54603093c9a59 | |
parent | 4020ecc6a7b70b71b197ac9a41305c3bf6b6adcf (diff) |
Block and Unblock should be `post` calls
-rw-r--r-- | src/lib.rs | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -250,8 +250,8 @@ impl<H: HttpSend> MastodonClient<H> for Mastodon<H> { (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, |