Skip to content

Commit

Permalink
analizators/s3168
Browse files Browse the repository at this point in the history
  • Loading branch information
SuhorukovAnton committed Dec 30, 2021
1 parent b9ae9b7 commit 50698af
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion products/ASC.CRM/Server/Utils/ReportHelper.cs
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
using System.Collections.Generic;
using System.Net.Http;
using System.Text.Json;
using System.Threading.Tasks;

using ASC.Common;
using ASC.Core;
Expand Down Expand Up @@ -221,7 +222,7 @@ private string GetReportScript(object data, ReportType type, string fileName)
.Replace("${reportData}", JsonSerializer.Serialize(data));
}

private async void SaveReportFile(ReportState state, string url)
private async Task SaveReportFile(ReportState state, string url)
{
using var httpClient = new HttpClient();
var responseData = await httpClient.GetByteArrayAsync(url);
Expand Down

0 comments on commit 50698af

Please sign in to comment.