From ea65ae3a11e03fa66f809be89f86baabf627ad82 Mon Sep 17 00:00:00 2001 From: Rory& Date: Mon, 2 Jun 2025 12:16:30 +0200 Subject: Try to fix auth --- testFrontend/SafeNSound.Sdk/SafeNSoundClient.cs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'testFrontend/SafeNSound.Sdk/SafeNSoundClient.cs') diff --git a/testFrontend/SafeNSound.Sdk/SafeNSoundClient.cs b/testFrontend/SafeNSound.Sdk/SafeNSoundClient.cs index 4d81b52..444e313 100644 --- a/testFrontend/SafeNSound.Sdk/SafeNSoundClient.cs +++ b/testFrontend/SafeNSound.Sdk/SafeNSoundClient.cs @@ -1,4 +1,5 @@ using System.Net.Http.Json; +using System.Text.Json.Serialization; namespace SafeNSound.Sdk; @@ -51,5 +52,6 @@ public class SafeNSoundClient(SafeNSoundConfiguration config, string accessToken public class AlarmDto { - + [JsonPropertyName("reason")] + public required string Reason { get; set; } } \ No newline at end of file -- cgit 1.5.1