Skip to content
This repository was archived by the owner on Dec 10, 2024. It is now read-only.

Commit f19511b

Browse files
committed
remove omitempty from main struct used for reads
1 parent 1d3decd commit f19511b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

projects.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -1270,8 +1270,8 @@ type HookCustomHeader struct {
12701270
type ProjectHook struct {
12711271
ID int `json:"id"`
12721272
URL string `json:"url"`
1273-
Name string `json:"name,omitempty"`
1274-
Description string `json:"description,omitempty"`
1273+
Name string `json:"name"`
1274+
Description string `json:"description"`
12751275
ConfidentialNoteEvents bool `json:"confidential_note_events"`
12761276
ProjectID int `json:"project_id"`
12771277
PushEvents bool `json:"push_events"`

0 commit comments

Comments
 (0)