aboutsummaryrefslogtreecommitdiffstats
path: root/src/skweets.rs
diff options
context:
space:
mode:
authorLibravatar cel 🌸 <cel@blos.sm>2023-02-16 18:11:29 +0000
committerLibravatar cel 🌸 <cel@blos.sm>2023-02-16 18:11:29 +0000
commit0b6d17e87106bb514a62d79d13e8465fd3bffc3a (patch)
treecf70cfde7e7dc7d1286f85e6af0d43da3fe19ccc /src/skweets.rs
parent675081e9d28ab7f072e82446a52a8bd26382ed66 (diff)
downloadblossom-0b6d17e87106bb514a62d79d13e8465fd3bffc3a.tar.gz
blossom-0b6d17e87106bb514a62d79d13e8465fd3bffc3a.tar.bz2
blossom-0b6d17e87106bb514a62d79d13e8465fd3bffc3a.zip
update dependencies
Diffstat (limited to '')
-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)
}