Block and Unblock should be `post` calls

master
Paul Woolcock 6 years ago
parent 4020ecc6a7
commit 6450ad3370
  1. 4
      src/lib.rs

@ -250,8 +250,8 @@ impl<H: HttpSend> MastodonClient<H> for Mastodon<H> {
(get) get_account: "accounts/{}" => Account, (get) get_account: "accounts/{}" => Account,
(post) follow: "accounts/{}/follow" => Relationship, (post) follow: "accounts/{}/follow" => Relationship,
(post) unfollow: "accounts/{}/unfollow" => Relationship, (post) unfollow: "accounts/{}/unfollow" => Relationship,
(get) block: "accounts/{}/block" => Relationship, (post) block: "accounts/{}/block" => Relationship,
(get) unblock: "accounts/{}/unblock" => Relationship, (post) unblock: "accounts/{}/unblock" => Relationship,
(get) mute: "accounts/{}/mute" => Relationship, (get) mute: "accounts/{}/mute" => Relationship,
(get) unmute: "accounts/{}/unmute" => Relationship, (get) unmute: "accounts/{}/unmute" => Relationship,
(get) get_notification: "notifications/{}" => Notification, (get) get_notification: "notifications/{}" => Notification,

Loading…
Cancel
Save