We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c311d49 commit e6cc59fCopy full SHA for e6cc59f
internal/api/scim.go
@@ -361,14 +361,6 @@ func (a *API) scimNotFound() error { return apiNoopError{} }
361
type apiNoopError struct{}
362
func (apiNoopError) Error() string { return "noop" }
363
364
-func writeSCIMError(w http.ResponseWriter, status int, detail string) error {
365
- return scimSendJSON(w, status, map[string]any{
366
- "schemas": []string{"urn:ietf:params:scim:api:messages:2.0:Error"},
367
- "detail": detail,
368
- "status": strconv.Itoa(status),
369
- })
370
-}
371
-
372
func scimSendJSON(w http.ResponseWriter, status int, obj any) error {
373
w.Header().Set("Content-Type", "application/scim+json")
374
b, err := json.Marshal(obj)
0 commit comments