trying things
This commit is contained in:
parent
d5a6e2e38d
commit
92ce74b1bd
src
|
@ -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?;
|
||||||
|
|
Loading…
Reference in New Issue