Bugfix for moved history.toml

This commit is contained in:
Neshura 2023-12-30 00:53:00 +01:00
parent 9c15ea791f
commit 0f1de67db6
Signed by: Neshura
GPG key ID: B6983AAA6B9A7A6C
3 changed files with 8 additions and 5 deletions

View file

@ -46,14 +46,14 @@ pub(crate) async fn login(config: &Config) -> Result<Lemmy, ()> {
None => {
let err_msg = "Login did not return JWT token. Are the credentials valid?".to_owned();
write_error(err_msg);
return Err(())
Err(())
}
}
},
status => {
let err_msg = format!("Unexpected HTTP Status '{}' during Login", status);
write_error(err_msg);
return Err(())
Err(())
}
}
}