Skip to content

Commit aea6208

Browse files
authored
chore: use codersdk return type, not package type (#15539)
1 parent 12a9d63 commit aea6208

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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy