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:
+3
-3
@@ -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
@@ -235,6 +235,8 @@ macro_rules! paged_routes_with_id {
|
||||
}
|
||||
}
|
||||
|
||||
route!{$($rest)*}
|
||||
paged_routes_with_id!{$($rest)*}
|
||||
};
|
||||
|
||||
() => {}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user