summaryrefslogtreecommitdiffstats
path: root/src/mastodon_client.rs
diff options
context:
space:
mode:
authorPaul Woolcock <paul@woolcock.us>2018-09-06 13:18:29 -0400
committerPaul Woolcock <paul@woolcock.us>2018-09-06 14:36:40 -0400
commit20a9c69adc24f0dc20cdd8b9da234643b4f41164 (patch)
treea67a14255ec09bc0be3f8619a8a36d0a2f34a8f9 /src/mastodon_client.rs
parent788177f5e8edc7f4e65cc733cba946abf26bbb2d (diff)
POST /.../unfollow returns a Relationship, not an Account
Diffstat (limited to 'src/mastodon_client.rs')
-rw-r--r--src/mastodon_client.rs2
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