mirror of
https://github.com/fawney19/Aether.git
synced 2026-09-03 01:40:21 +08:00
Format OAuth refresh consistency changes
This commit is contained in:
@@ -990,10 +990,12 @@ impl AppState {
|
||||
let _ = self
|
||||
.invalidate_local_oauth_refresh_entry(¤t_transport.key.id)
|
||||
.await;
|
||||
return Err(provider_transport::LocalOAuthRefreshError::InvalidResponse {
|
||||
provider_type: "gateway",
|
||||
message: format!("local oauth refresh persistence failed: {err:?}"),
|
||||
});
|
||||
return Err(
|
||||
provider_transport::LocalOAuthRefreshError::InvalidResponse {
|
||||
provider_type: "gateway",
|
||||
message: format!("local oauth refresh persistence failed: {err:?}"),
|
||||
},
|
||||
);
|
||||
}
|
||||
self.oauth_refresh
|
||||
.store_cached_entry(current_transport.key.id.trim(), refreshed_entry.clone())
|
||||
|
||||
Reference in New Issue
Block a user