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?;