Skip to content

Commit

Permalink
fix renew post
Browse files Browse the repository at this point in the history
  • Loading branch information
gballigand committed Nov 9, 2023
1 parent eba191c commit af7aea5
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ public async Task<X509Certificate2> RenewCertificate(CancellationToken ct)
_client.BaseAddress + RENEW_PATH
);

var response = await _client.PostAsJsonAsync(RENEW_PATH, ct);
var response = await _client.PostAsync(RENEW_PATH, null, cancellationToken: ct);
response.EnsureSuccessStatusCode();

var payload = await response.Content.ReadFromJsonAsync<CredentialPayload>(cancellationToken: ct);
Expand Down

0 comments on commit af7aea5

Please sign in to comment.