From af7aea5e4700414e0da4606ff599d90296f8fed1 Mon Sep 17 00:00:00 2001 From: gballigand Date: Thu, 9 Nov 2023 14:19:01 +0100 Subject: [PATCH] fix renew post --- Foundation.SourceClients/Services/FoundationAccountClient.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Foundation.SourceClients/Services/FoundationAccountClient.cs b/Foundation.SourceClients/Services/FoundationAccountClient.cs index 7a0ca51..4ba5c22 100644 --- a/Foundation.SourceClients/Services/FoundationAccountClient.cs +++ b/Foundation.SourceClients/Services/FoundationAccountClient.cs @@ -143,7 +143,7 @@ public async Task 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(cancellationToken: ct);