code cleanup

This commit is contained in:
Volodymyr Smirnov
2020-11-02 11:39:12 +02:00
parent b4c5c1a507
commit cfcfe92784
12 changed files with 28 additions and 30 deletions

View File

@@ -57,7 +57,7 @@ namespace MalwareMultiScan.Api.Services
return;
_backgroundJobClient.Create<IScanResultJob>(
x => x.Notify(scanResult.CallbackUrl, resultId, backendId, result),
x => x.Notify(scanResult.CallbackUrl, resultId, backendId, result),
new EnqueuedState("default"));
}
@@ -82,7 +82,7 @@ namespace MalwareMultiScan.Api.Services
cancellationTokenSource.Token);
response.EnsureSuccessStatusCode();
_logger.LogInformation($"Sent POST to callback URL {uri}");
}
catch (Exception exception)