diff --git a/src/EntityFramework.Storage/Stores/SigningKeyStore.cs b/src/EntityFramework.Storage/Stores/SigningKeyStore.cs index 87f04828c..cc8e3803c 100644 --- a/src/EntityFramework.Storage/Stores/SigningKeyStore.cs +++ b/src/EntityFramework.Storage/Stores/SigningKeyStore.cs @@ -81,7 +81,7 @@ public async Task> LoadKeysAsync() /// /// /// - public Task StoreKeyAsync(SerializedKey key) + public async Task StoreKeyAsync(SerializedKey key) { using var activity = Tracing.StoreActivitySource.StartActivity("SigningKeyStore.StoreKey"); @@ -97,7 +97,7 @@ public Task StoreKeyAsync(SerializedKey key) IsX509Certificate = key.IsX509Certificate }; Context.Keys.Add(entity); - return Context.SaveChangesAsync(CancellationTokenProvider.CancellationToken); + await Context.SaveChangesAsync(CancellationTokenProvider.CancellationToken); } ///