File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -93,7 +93,8 @@ func (api *API) patchOrgRoles(rw http.ResponseWriter, r *http.Request) {
93
93
},
94
94
},
95
95
ExcludeOrgRoles : false ,
96
- OrganizationID : organization .ID ,
96
+ // Linter requires all fields to be set. This field is not actually required.
97
+ OrganizationID : organization .ID ,
97
98
})
98
99
// If it is a 404 (not found) error, ignore it.
99
100
if err != nil && ! httpapi .Is404Error (err ) {
@@ -167,7 +168,8 @@ func (api *API) deleteOrgRole(rw http.ResponseWriter, r *http.Request) {
167
168
},
168
169
},
169
170
ExcludeOrgRoles : false ,
170
- OrganizationID : organization .ID ,
171
+ // Linter requires all fields to be set. This field is not actually required.
172
+ OrganizationID : organization .ID ,
171
173
})
172
174
if err != nil {
173
175
httpapi .InternalServerError (rw , err )
You can’t perform that action at this time.
0 commit comments