Skip to content

Commit

Permalink
analizators/s2997
Browse files Browse the repository at this point in the history
  • Loading branch information
SuhorukovAnton committed Dec 30, 2021
1 parent 2a82bc8 commit e2857e8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion common/ASC.Core.Common/Billing/CouponManager.cs
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ internal async Task<IEnumerable<AvangateProduct>> GetProducts()
private HttpClient PrepaireClient()
{
const string applicationJson = "application/json";
using var httpClient = new HttpClient { BaseAddress = BaseAddress, Timeout = TimeSpan.FromMinutes(3) };
var httpClient = new HttpClient { BaseAddress = BaseAddress, Timeout = TimeSpan.FromMinutes(3) };
httpClient.DefaultRequestHeaders.TryAddWithoutValidation("accept", applicationJson);
httpClient.DefaultRequestHeaders.TryAddWithoutValidation("Content-Type", applicationJson);
httpClient.DefaultRequestHeaders.TryAddWithoutValidation("X-Avangate-Authentication", CreateAuthHeader());
Expand Down

0 comments on commit e2857e8

Please sign in to comment.