Fix redis pool timeout (#669)
* Fix redis pool timeout * remove search dep project issues * run fmt + prep
This commit is contained in:
1 parent
1f4ad732fd
commit
e9f5bd4ac1
8 files changed
+191
-219
No files matched your search
@@ -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