Skip to content

Commit

Permalink
chore: Add comment about Project type
Browse files Browse the repository at this point in the history
Co-authored-by: Andreas Kusalananda Kähäri <[email protected]>
  • Loading branch information
jonandernovella and kusalananda authored Sep 11, 2023
1 parent 69b55a3 commit 45ecbff
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions backend/internal/redmine/models.go
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,8 @@ type Group struct {
Id int `json:"id"`
Name string `json:"name"`
}
// The Project type is only ever used for holding the activities that are valid for a given project.
// Apart from that, Urdr mainly deals with Issues, not Projects.
type Project struct {
TimeEntryActivities []TimeEntryActivity `json:"time_entry_activities"`
}
Expand Down

0 comments on commit 45ecbff

Please sign in to comment.