fix(client): fix broken paged_routes_with_id methods

BREAKING CHANGE: technically this breaks the API, but these methods
wouldn't have worked this way anyway, so I don't feel bad about it

Closes #42
This commit is contained in:
Paul Woolcock
2018-08-29 12:20:42 -04:00
parent 2a6e922da7
commit c66c305df5
2 changed files with 6 additions and 4 deletions
+3 -3
View File
@@ -159,13 +159,13 @@ pub trait MastodonClient<H: HttpSend = HttpSender> {
fn followers(&self, id: &str) -> Result<Page<Account, H>> {
unimplemented!("This method was not implemented");
}
fn following(&self) -> Result<Account> {
fn following(&self, id: &str) -> Result<Page<Account, H>> {
unimplemented!("This method was not implemented");
}
fn reblogged_by(&self) -> Result<Account> {
fn reblogged_by(&self, id: &str) -> Result<Page<Account, H>> {
unimplemented!("This method was not implemented");
}
fn favourited_by(&self) -> Result<Account> {
fn favourited_by(&self, id: &str) -> Result<Page<Account, H>> {
unimplemented!("This method was not implemented");
}
fn unblock_domain(&self, domain: String) -> Result<Empty> {
+3 -1
View File
@@ -235,6 +235,8 @@ macro_rules! paged_routes_with_id {
}
}
route!{$($rest)*}
paged_routes_with_id!{$($rest)*}
};
() => {}
}