Skip to content

Commit

Permalink
add missing fields in Note struct
Browse files Browse the repository at this point in the history
  • Loading branch information
cenkalti committed Jan 17, 2024
1 parent 57c03d9 commit 4bbd9e2
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions notes.go
Original file line number Diff line number Diff line change
Expand Up @@ -50,9 +50,12 @@ type Note struct {
WebURL string `json:"web_url"`
} `json:"author"`
System bool `json:"system"`
Internal bool `json:"internal"`
Confidential bool `json:"confidential"`
ExpiresAt *time.Time `json:"expires_at"`
UpdatedAt *time.Time `json:"updated_at"`
CreatedAt *time.Time `json:"created_at"`
ProjectID int `json:"project_id"`
NoteableID int `json:"noteable_id"`
NoteableType string `json:"noteable_type"`
CommitID string `json:"commit_id"`
Expand Down

0 comments on commit 4bbd9e2

Please sign in to comment.