trying things

This commit is contained in:
Suguivy 2023-07-04 13:15:12 +02:00
parent d5a6e2e38d
commit 92ce74b1bd
1 changed files with 1 additions and 1 deletions

View File

@ -104,7 +104,7 @@ async fn fetch_url(url: String, file_name: String) -> Result<()> {
async fn register() -> Result<Mastodon> { async fn register() -> Result<Mastodon> {
let registration = Registration::new("https://awoo.fai.st") let registration = Registration::new("https://awoo.fai.st")
.client_name("sleeping-girls-bot") .client_name("sleeping-girls-bot")
.scopes(Scopes::write(scopes::Write::Accounts)) .scopes(Scopes::write_all())
.build() .build()
.await?; .await?;
let mastodon = cli::authenticate(registration).await?; let mastodon = cli::authenticate(registration).await?;