Update Analytics req + Fix versions list (#529)

* Update Analytics req + Fix versions list

* Fix sentry support

* Fix lint
This commit is contained in:
Geometrically
2023-02-01 10:08:02 -07:00
committed by GitHub
parent 26533c47e7
commit afdab0300e
21 changed files with 441 additions and 160 deletions

View File

@@ -61,7 +61,7 @@ pub async fn user_get(
) -> Result<HttpResponse, ApiError> {
let string = info.into_inner().0;
let id_option: Option<UserId> =
serde_json::from_str(&format!("\"{}\"", string)).ok();
serde_json::from_str(&format!("\"{string}\"")).ok();
let mut user_data;
@@ -222,8 +222,7 @@ pub async fn user_edit(
.await?;
} else {
return Err(ApiError::InvalidInput(format!(
"Username {} is taken!",
username
"Username {username} is taken!"
)));
}
}