From 631af750c1acdab49ac51d3d562231fb08da944d Mon Sep 17 00:00:00 2001 From: Frede Hundewadt <22748698+fhdk@users.noreply.github.com> Date: Wed, 29 Jun 2022 13:26:54 +0200 Subject: [PATCH] wip - dang - was it that simple? --- Wonky.Client/HttpRepository/ReportHttpRepository.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Wonky.Client/HttpRepository/ReportHttpRepository.cs b/Wonky.Client/HttpRepository/ReportHttpRepository.cs index 5ec17327..aaf56907 100644 --- a/Wonky.Client/HttpRepository/ReportHttpRepository.cs +++ b/Wonky.Client/HttpRepository/ReportHttpRepository.cs @@ -57,7 +57,7 @@ public class ReportHttpRepository :IReportHttpRepository public async Task PostReport(string workDate, ReportDto reportDto) { var response = await _client - .PostAsJsonAsync($"{_apiConfig.ReportUri}/{workDate}", reportDto); + .PostAsJsonAsync($"{_apiConfig.ReportUri}/{workDate}", reportDto, _options); var jsonDate = await response.Content.ReadAsStringAsync(); var result = JsonSerializer.Deserialize(jsonDate);