Revert status change.

This commit is contained in:
Daniël Franke
2023-01-23 12:16:04 +01:00
committed by Ralf Haferkamp
parent a9fff65209
commit e6273140a2
@@ -176,8 +176,8 @@ func (g Graph) PatchEducationClass(w http.ResponseWriter, r *http.Request) {
}
return
}
render.Status(r, http.StatusOK) // TODO StatusNoContent when prefer=minimal is used, otherwise OK and the resource in the body
render.JSON(w, r, class)
render.Status(r, http.StatusNoContent) // TODO StatusNoContent when prefer=minimal is used, otherwise OK and the resource in the body
render.NoContent(w, r)
}
// GetEducationClass implements the Service interface.