You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Replaced the `ClientQueryAsync` method with `ClientQuery().ToListAsync()` in the `ResetAsync` implementation. The `ClientQueryAsync` method and its internal logic have been removed, streamlining the asynchronous query process and improving code readability and maintainability.
Copy file name to clipboardExpand all lines: src/Contrib/Authentication/OpenIdConnect/Masa.Contrib.Authentication.OpenIdConnect.EFCore/Caches/SyncCache.cs
+1-31Lines changed: 1 addition & 31 deletions
Original file line number
Diff line number
Diff line change
@@ -93,7 +93,7 @@ public async Task ResetAsync()
93
93
{
94
94
if(_clientCacheis not null)
95
95
{
96
-
varclients=awaitClientQueryAsync();
96
+
varclients=awaitClientQuery().ToListAsync();
97
97
await_clientCache.ResetAsync(clients);
98
98
}
99
99
if(_apiScopeCacheis not null)
@@ -113,36 +113,6 @@ public async Task ResetAsync()
0 commit comments