Skip to content

Commit

Permalink
pp-p
Browse files Browse the repository at this point in the history
  • Loading branch information
SergeyGaluzo committed Sep 23, 2023
1 parent 3d756e4 commit 02646e3
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -699,7 +699,7 @@ public bool IsEnabled()
try
{
using var cmd = new SqlCommand();
cmd.CommandText = "IF object_id('dbo.Parameters') IS NOT NULL SELECT Number FROM dbo.Parameters WHERE Id = 'RawResourceDedupping.IsEnabled'"; // call can be made before store is initialized
cmd.CommandText = "IF object_id('dbo.Parameters') IS NOT NULL SELECT Number FROM dbo.Parameters WHERE Id = 'RawResourceDeduping.IsEnabled'"; // call can be made before store is initialized
var value = cmd.ExecuteScalarAsync(_sqlRetryService, _logger, CancellationToken.None).Result;
return value == null || (double)value == 1;
}
Expand Down

0 comments on commit 02646e3

Please sign in to comment.