From 4bbd9e29e18858d21b7e46b31230e46dd3d89e64 Mon Sep 17 00:00:00 2001 From: Cenk Alti Date: Wed, 17 Jan 2024 11:34:22 -0500 Subject: [PATCH] add missing fields in Note struct --- notes.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/notes.go b/notes.go index 5e80f146e..e5379ea61 100644 --- a/notes.go +++ b/notes.go @@ -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"`