From f1718eec80f28779126502c1a8ce6e95c76c783e Mon Sep 17 00:00:00 2001 From: Emile Date: Tue, 6 Jul 2021 03:52:52 +0100 Subject: [PATCH] Fixed abysmal naming --- src/main.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/main.rs b/src/main.rs index 229b3bc..03d255b 100644 --- a/src/main.rs +++ b/src/main.rs @@ -57,12 +57,12 @@ async fn main() -> Result<(), Box> { 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);