Merge branch 'master' of git.sectorinf.com:emilis/izzilis

This commit is contained in:
Izzy Swart 2021-07-05 19:53:40 -07:00
commit 7c5c2033a8
1 changed files with 3 additions and 3 deletions

View File

@ -57,12 +57,12 @@ async fn main() -> Result<(), Box<dyn Error>> {
let mut buffer = String::new(); let mut buffer = String::new();
stdin().read_line(&mut buffer).await?; stdin().read_line(&mut buffer).await?;
let mastodon = registration.create_access_token(buffer)?; let fedi = registration.create_access_token(buffer)?;
cfg.fediverse_token = Some(mastodon.data.clone()); cfg.fediverse_token = Some(fedi.data.clone());
cfg.save(CONFIG_PATH)?; cfg.save(CONFIG_PATH)?;
mastodon fedi
}; };
let publisher = MastodonPublisher::new(mastodon); let publisher = MastodonPublisher::new(mastodon);