diff --git a/EstateReportingAPI.BusinessLogic/QueryTimingInterceptor.cs b/EstateReportingAPI.BusinessLogic/QueryTimingInterceptor.cs index fc76599..7c8835a 100644 --- a/EstateReportingAPI.BusinessLogic/QueryTimingInterceptor.cs +++ b/EstateReportingAPI.BusinessLogic/QueryTimingInterceptor.cs @@ -37,7 +37,7 @@ public override DbDataReader ReaderExecuted(DbCommand command, public override async ValueTask ReaderExecutedAsync(DbCommand command, CommandExecutedEventData eventData, DbDataReader result, - CancellationToken cancellationToken = new CancellationToken()) { + CancellationToken cancellationToken) { LogIfRequired(command, eventData); return result;