diff --git a/schema/handler.go b/schema/handler.go index 498ca85e2bdf..da53eb0d0fa1 100644 --- a/schema/handler.go +++ b/schema/handler.go @@ -106,7 +106,7 @@ func (h *Handler) getByID(w http.ResponseWriter, r *http.Request, ps httprouter. s, err = ss.GetByID(id) if err != nil { - h.r.Writer().WriteError(w, r, errors.WithStack(herodot.ErrNotFound.WithReasonf("Identity schema `%s` could not be found.", id)))) + h.r.Writer().WriteError(w, r, errors.WithStack(herodot.ErrNotFound.WithReasonf("Identity schema `%s` could not be found.", id))) return } }