diff --git a/api/v1/routes.go b/api/v1/routes.go index 0f7a3654..b9601e78 100644 --- a/api/v1/routes.go +++ b/api/v1/routes.go @@ -103,7 +103,6 @@ func postLayer(w http.ResponseWriter, r *http.Request, p httprouter.Params, ctx return postLayerRoute, http.StatusInternalServerError } - w.WriteHeader(http.StatusCreated) writeResponse(w, r, http.StatusCreated, LayerEnvelope{Layer: &Layer{ Name: request.Layer.Name, ParentName: request.Layer.ParentName,