Fixed abysmal naming
This commit is contained in:
parent
5caab575af
commit
f1718eec80
|
@ -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);
|
||||||
|
|
Loading…
Reference in New Issue