diff --git a/src/lib.rs b/src/lib.rs index e589606..ad924ae 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -159,13 +159,13 @@ pub trait MastodonClient { fn followers(&self, id: &str) -> Result> { unimplemented!("This method was not implemented"); } - fn following(&self) -> Result { + fn following(&self, id: &str) -> Result> { unimplemented!("This method was not implemented"); } - fn reblogged_by(&self) -> Result { + fn reblogged_by(&self, id: &str) -> Result> { unimplemented!("This method was not implemented"); } - fn favourited_by(&self) -> Result { + fn favourited_by(&self, id: &str) -> Result> { unimplemented!("This method was not implemented"); } fn unblock_domain(&self, domain: String) -> Result { diff --git a/src/macros.rs b/src/macros.rs index 149a714..8188852 100644 --- a/src/macros.rs +++ b/src/macros.rs @@ -235,6 +235,8 @@ macro_rules! paged_routes_with_id { } } - route!{$($rest)*} + paged_routes_with_id!{$($rest)*} }; + + () => {} }