summary refs log tree commit diff
path: root/testFrontend/SafeNSound.Sdk/SafeNSoundClient.cs
diff options
context:
space:
mode:
authorRory& <root@rory.gay>2025-06-02 12:16:30 +0200
committerRory& <root@rory.gay>2025-06-02 12:16:30 +0200
commitea65ae3a11e03fa66f809be89f86baabf627ad82 (patch)
tree377af52ba925269feea603ab716fd52d950154bb /testFrontend/SafeNSound.Sdk/SafeNSoundClient.cs
parentFix readme (diff)
downloadnodejs-final-assignment-ea65ae3a11e03fa66f809be89f86baabf627ad82.tar.xz
Try to fix auth
Diffstat (limited to '')
-rw-r--r--testFrontend/SafeNSound.Sdk/SafeNSoundClient.cs4
1 files changed, 3 insertions, 1 deletions
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