From a44cf45bded86f3143003e1dff135fb13fb8bc13 Mon Sep 17 00:00:00 2001 From: Michael Pendon Date: Sat, 3 Oct 2020 06:55:21 +0200 Subject: [PATCH] #343 Fixed the failing Integration and Unit Tests. --- RepoDb.Core/RepoDb/Extensions/DbConnectionExtension.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/RepoDb.Core/RepoDb/Extensions/DbConnectionExtension.cs b/RepoDb.Core/RepoDb/Extensions/DbConnectionExtension.cs index 711ba6b01..4558623f9 100644 --- a/RepoDb.Core/RepoDb/Extensions/DbConnectionExtension.cs +++ b/RepoDb.Core/RepoDb/Extensions/DbConnectionExtension.cs @@ -1577,7 +1577,7 @@ internal static async Task ExecuteScalarAsyncInternal(this IDb dbFields: dbFields, skipCommandArrayParametersCheck: skipCommandArrayParametersCheck)) { - return Converter.ToType(command.ExecuteScalarAsync(cancellationToken)); + return Converter.ToType(await command.ExecuteScalarAsync(cancellationToken)); } }