You've already forked AstralRinth
forked from didirus/AstralRinth
Fix redis pool timeout (#669)
* Fix redis pool timeout * remove search dep project issues * run fmt + prep
This commit is contained in:
@@ -21,7 +21,7 @@ pub async fn fetch_bearer(token: &str, uhs: &str) -> Result<String, Authenticati
|
||||
.get("access_token")
|
||||
.and_then(serde_json::Value::as_str)
|
||||
.map(String::from)
|
||||
.ok_or(AuthenticationError::Custom(
|
||||
format!("Response didn't contain valid bearer token. body: {body}"),
|
||||
))
|
||||
.ok_or(AuthenticationError::Custom(format!(
|
||||
"Response didn't contain valid bearer token. body: {body}"
|
||||
)))
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user