trying things
This commit is contained in:
parent
d5a6e2e38d
commit
92ce74b1bd
|
@ -104,7 +104,7 @@ async fn fetch_url(url: String, file_name: String) -> Result<()> {
|
|||
async fn register() -> Result<Mastodon> {
|
||||
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?;
|
||||
|
|
Loading…
Reference in New Issue