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

Commit 4a212a4

Browse files
committed
Tweak struct field tags
1 parent 81c2f1c commit 4a212a4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

projects.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@ type Project struct {
167167
MergeRequestDefaultTargetSelf bool `json:"mr_default_target_self"`
168168

169169
// Deprecated: Use EmailsEnabled instead
170-
EmailsDisabled bool `url:"emails_disabled,omitempty" json:"emails_disabled,omitempty"`
170+
EmailsDisabled bool `json:"emails_disabled"`
171171
// Deprecated: This parameter has been renamed to PublicJobs in GitLab 9.0.
172172
PublicBuilds bool `json:"public_builds"`
173173
}

0 commit comments

Comments
 (0)