From 9d69416bb49a309097f69774a5d4580c3f2195e0 Mon Sep 17 00:00:00 2001 From: jtkech Date: Mon, 18 Dec 2023 23:11:51 +0100 Subject: [PATCH] Missing Session SaveAsync --- .../OrchardCore.OpenId.Core/YesSql/Stores/OpenIdTokenStore.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/OrchardCore/OrchardCore.OpenId.Core/YesSql/Stores/OpenIdTokenStore.cs b/src/OrchardCore/OrchardCore.OpenId.Core/YesSql/Stores/OpenIdTokenStore.cs index 1d6e7b1ee48..9c1a4ee23fd 100644 --- a/src/OrchardCore/OrchardCore.OpenId.Core/YesSql/Stores/OpenIdTokenStore.cs +++ b/src/OrchardCore/OrchardCore.OpenId.Core/YesSql/Stores/OpenIdTokenStore.cs @@ -403,7 +403,7 @@ public virtual async ValueTask RevokeByAuthorizationIdAsync(string identif { token.Status = Statuses.Revoked; - _session.Save(token, checkConcurrency: false, collection: OpenIdCollection); + await _session.SaveAsync(token, checkConcurrency: false, collection: OpenIdCollection); } await _session.SaveChangesAsync();