Skip to content

Commit

Permalink
feat: add setter for timelines
Browse files Browse the repository at this point in the history
  • Loading branch information
HunorTotBagi committed Feb 10, 2025
1 parent 24a149f commit c418637
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,5 @@ public class NodeDto(
TimelineBaseDto timeline) : NodeBaseDto(id, title, description, timestamp, importance, phase, categories, tags)
{
[JsonPropertyName("reminders")] public List<ReminderBaseDto> Reminders { get; } = [];
[JsonPropertyName("timelines")] public TimelineBaseDto Timelines { get; } = timeline;
[JsonPropertyName("timelines")] public TimelineBaseDto Timelines { get; set; } = timeline;
}

0 comments on commit c418637

Please sign in to comment.