diff --git a/Toggl.Api/Models/Me.cs b/Toggl.Api/Models/Me.cs index 224c3dd..b7c43ea 100644 --- a/Toggl.Api/Models/Me.cs +++ b/Toggl.Api/Models/Me.cs @@ -37,7 +37,7 @@ public class Me : IdentifiedItem /// country_id /// [JsonPropertyName("country_id")] - public int CountryId { get; set; } + public int? CountryId { get; set; } /// /// Created 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 +}