Skip to content

Commit

Permalink
Refactor time entry detail
Browse files Browse the repository at this point in the history
  • Loading branch information
VincentVrijburg committed Jul 7, 2024
1 parent 20b7b33 commit 873e012
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 8 deletions.
4 changes: 3 additions & 1 deletion src/Moneybird.Net/Entities/TimeEntries/TimeEntry.cs
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,10 @@ public class TimeEntry : IMoneybirdEntity
[JsonPropertyName("contact")]
public Contact Contact { get; set; }

// TODO: Check documentation to understand what this detail field is meant for.
[JsonIgnore]
[JsonPropertyName("detail")]
public SalesInvoiceDetail Detail { get; set; }
public object Detail { get; set; }

[JsonPropertyName("user")]
public User User { get; set; }
Expand Down
7 changes: 0 additions & 7 deletions src/Moneybird.Net/Entities/TimeEntries/TimeEntryDetail.cs

This file was deleted.

0 comments on commit 873e012

Please sign in to comment.