From 2621bdca8d0bd5493ac1a66e4d9ab44e808b77f5 Mon Sep 17 00:00:00 2001 From: Dominic St-Jacques Date: Wed, 25 Sep 2024 09:32:02 -0400 Subject: [PATCH] Fix: MeUpdateDto.CountryId should be nullable --- Toggl.Api/Models/MeUpdateDto.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Toggl.Api/Models/MeUpdateDto.cs b/Toggl.Api/Models/MeUpdateDto.cs index 8eed07f..438fb2d 100644 --- a/Toggl.Api/Models/MeUpdateDto.cs +++ b/Toggl.Api/Models/MeUpdateDto.cs @@ -17,7 +17,7 @@ public class MeUpdateDto /// User's country ID /// [JsonPropertyName("country_id")] - public required int CountryId { get; set; } + public required int? CountryId { get; set; } /// /// User's current password (used to change the current password) @@ -54,4 +54,4 @@ public class MeUpdateDto /// [JsonPropertyName("timezone")] public required string Timezone { get; set; } -} \ No newline at end of file +}