From 92ce74b1bd31a92fb28d6d92720d67a46cff4bf2 Mon Sep 17 00:00:00 2001 From: Suguivy Date: Tue, 4 Jul 2023 13:15:12 +0200 Subject: [PATCH] trying things --- src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.rs b/src/main.rs index 3ffa9c2..e7035ad 100644 --- a/src/main.rs +++ b/src/main.rs @@ -104,7 +104,7 @@ async fn fetch_url(url: String, file_name: String) -> Result<()> { async fn register() -> Result { let registration = Registration::new("https://awoo.fai.st") .client_name("sleeping-girls-bot") - .scopes(Scopes::write(scopes::Write::Accounts)) + .scopes(Scopes::write_all()) .build() .await?; let mastodon = cli::authenticate(registration).await?;