mirror of
https://github.com/owncloud/ocis
synced 2026-04-25 17:25:21 +02:00
fix libre-graph status codes (#7705)
* fix libre-graph status codes * owncloud-test-middleware bumped --------- Co-authored-by: Roman Perekhod <rperekhod@owncloud.com>
This commit is contained in:
@@ -97,7 +97,7 @@ func (g Graph) PostGroup(w http.ResponseWriter, r *http.Request) {
|
||||
}
|
||||
g.publishEvent(r.Context(), e)
|
||||
}
|
||||
render.Status(r, http.StatusOK) // FIXME 201 should return 201 created
|
||||
render.Status(r, http.StatusCreated)
|
||||
render.JSON(w, r, grp)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user