update dependencies
This commit is contained in:
parent
675081e9d2
commit
0b6d17e871
File diff suppressed because it is too large
Load Diff
|
@ -8,8 +8,8 @@ edition = "2021"
|
||||||
[dependencies]
|
[dependencies]
|
||||||
rocket = { version = "0.5.0-rc.2", features = ["json"] }
|
rocket = { version = "0.5.0-rc.2", features = ["json"] }
|
||||||
reqwest = { version = "0.11", features = ["json"] }
|
reqwest = { version = "0.11", features = ["json"] }
|
||||||
mastodon-async = "1.0"
|
mastodon-async = "1.1"
|
||||||
tokio = { version = "1", features = ["full"] }
|
tokio = { version = "1", features = ["full"] }
|
||||||
serde = { version = "1.0", features = ["derive"] }
|
serde = { version = "1.0", features = ["derive"] }
|
||||||
rocket_dyn_templates = { version = "0.1.0-rc.2", features = ["tera"] }
|
rocket_dyn_templates = { version = "0.1.0-rc.2", features = ["tera"] }
|
||||||
listenbrainz = { git = "https://sectorinf.com/cel/listenbrainz-rs.git" }
|
listenbrainz = "0.7"
|
||||||
|
|
|
@ -4,7 +4,7 @@ use mastodon_async::prelude::*;
|
||||||
|
|
||||||
pub async fn get_recents(client: &Mastodon) -> Result<Vec<Status>, BlossomError> {
|
pub async fn get_recents(client: &Mastodon) -> Result<Vec<Status>, BlossomError> {
|
||||||
Ok(client
|
Ok(client
|
||||||
.statuses("cel", Default::default())
|
.statuses(&AccountId::new("cel"), Default::default())
|
||||||
.await?
|
.await?
|
||||||
.initial_items)
|
.initial_items)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue