diff options
author | Paul Woolcock <paul@woolcock.us> | 2018-09-06 13:18:29 -0400 |
---|---|---|
committer | Paul Woolcock <paul@woolcock.us> | 2018-09-06 14:36:40 -0400 |
commit | 20a9c69adc24f0dc20cdd8b9da234643b4f41164 (patch) | |
tree | a67a14255ec09bc0be3f8619a8a36d0a2f34a8f9 /src/mastodon_client.rs | |
parent | 788177f5e8edc7f4e65cc733cba946abf26bbb2d (diff) |
POST /.../unfollow returns a Relationship, not an Account
Diffstat (limited to 'src/mastodon_client.rs')
-rw-r--r-- | src/mastodon_client.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mastodon_client.rs b/src/mastodon_client.rs index 1d923a0..4440299 100644 --- a/src/mastodon_client.rs +++ b/src/mastodon_client.rs @@ -116,7 +116,7 @@ pub trait MastodonClient<H: HttpSend = HttpSender> { unimplemented!("This method was not implemented"); } /// POST /api/v1/accounts/:id/unfollow - fn unfollow(&self, id: u64) -> Result<Account> { + fn unfollow(&self, id: u64) -> Result<Relationship> { unimplemented!("This method was not implemented"); } /// GET /api/v1/accounts/:id/block |