Skip to content

Commit f85b870

Browse files
Emyrkpull[bot]
authored andcommitted
chore: use codersdk return type, not package type (#15539)
1 parent ad7e518 commit f85b870

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

enterprise/coderd/idpsync.go

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,11 @@ func (api *API) organizationIDPSyncSettings(rw http.ResponseWriter, r *http.Requ
205205
return
206206
}
207207

208-
httpapi.Write(ctx, rw, http.StatusOK, settings)
208+
httpapi.Write(ctx, rw, http.StatusOK, codersdk.OrganizationSyncSettings{
209+
Field: settings.Field,
210+
Mapping: settings.Mapping,
211+
AssignDefault: settings.AssignDefault,
212+
})
209213
}
210214

211215
// @Summary Update organization IdP Sync settings

0 commit comments

Comments
 (0)