Skip to content

Commit

Permalink
updated
Browse files Browse the repository at this point in the history
  • Loading branch information
MadsDue committed Nov 14, 2024
1 parent bfe40d3 commit 8ac9ab2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions source/SubsystemTests/Drivers/EdiDatabaseDriver.cs
Original file line number Diff line number Diff line change
Expand Up @@ -280,13 +280,13 @@ internal async Task<int> CountEnqueuedMessagesForCalculationAsync(Guid calculati

await connection.OpenAsync();

var dequeuedMessagesCount = await connection.ExecuteScalarAsync<int>(
var enqueuedMessagesCount = await connection.ExecuteScalarAsync<int>(
sql: @"SELECT COUNT(B.[Id]) FROM [Bundles] B
INNER JOIN [OutgoingMessages] OM ON B.[Id] = OM.[AssignedBundleId]
WHERE OM.[CalculationId] = @CalculationId",
param: new { CalculationId = calculationId, });

return dequeuedMessagesCount;
return enqueuedMessagesCount;
}

private async Task<Guid?> GetProcessIdAsync(SqlCommand command, CancellationToken cancellationToken)
Expand Down

0 comments on commit 8ac9ab2

Please sign in to comment.