Merge branch 'master' of git.sectorinf.com:emilis/izzilis
This commit is contained in:
commit
7c5c2033a8
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue