Skip to content

Commit

Permalink
Fixed nullable bool to handle possible error in Close's API response
Browse files Browse the repository at this point in the history
  • Loading branch information
petefox committed Feb 23, 2024
1 parent a09b278 commit 03d9a51
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Close/Models/Task.cs
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ public class Task : IHasCreatedBy, IHasUpdatedBy
public DateTimeOffset? Date { get; set; }

[JsonPropertyName("is_dateless")]
public bool IsDateless { get; set; }
public bool? IsDateless { get; set; }

[JsonPropertyName("due_date")]
public DateTimeOffset? DueDate { get; set; }
Expand Down

0 comments on commit 03d9a51

Please sign in to comment.