mirror of
https://github.com/coder/coder.git
synced 2025-07-09 11:45:56 +00:00
chore: use codersdk return type, not package type (#15539)
This commit is contained in:
@ -205,7 +205,11 @@ func (api *API) organizationIDPSyncSettings(rw http.ResponseWriter, r *http.Requ
|
|||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
httpapi.Write(ctx, rw, http.StatusOK, settings)
|
httpapi.Write(ctx, rw, http.StatusOK, codersdk.OrganizationSyncSettings{
|
||||||
|
Field: settings.Field,
|
||||||
|
Mapping: settings.Mapping,
|
||||||
|
AssignDefault: settings.AssignDefault,
|
||||||
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
// @Summary Update organization IdP Sync settings
|
// @Summary Update organization IdP Sync settings
|
||||||
|
Reference in New Issue
Block a user