Fixed abysmal naming

This commit is contained in:
Emile 2021-07-06 03:52:52 +01:00
parent 5caab575af
commit f1718eec80
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();
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)?;
mastodon
fedi
};
let publisher = MastodonPublisher::new(mastodon);