Skip to content

Commit cdfb475

Browse files
committed
linting
1 parent b03cb00 commit cdfb475

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

enterprise/coderd/scim.go

+1
Original file line numberDiff line numberDiff line change
@@ -223,6 +223,7 @@ func (api *API) scimPostUser(rw http.ResponseWriter, r *http.Request) {
223223
// This is to preserve single org deployment behavior.
224224
organizations := []uuid.UUID{}
225225
if api.IDPSync.AssignDefaultOrganization() {
226+
//nolint:gocritic // SCIM operations are a system user
226227
defaultOrganization, err := api.Database.GetDefaultOrganization(dbauthz.AsSystemRestricted(ctx))
227228
if err != nil {
228229
_ = handlerutil.WriteError(rw, err)

0 commit comments

Comments
 (0)