aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/skweets.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/skweets.rs b/src/skweets.rs
index 91369ec..6434569 100644
--- a/src/skweets.rs
+++ b/src/skweets.rs
@@ -4,7 +4,7 @@ use mastodon_async::prelude::*;
pub async fn get_recents(client: &Mastodon) -> Result<Vec<Status>, BlossomError> {
Ok(client
- .statuses("cel", Default::default())
+ .statuses(&AccountId::new("cel"), Default::default())
.await?
.initial_items)
}