Skip to content

Commit

Permalink
api: fix postLayer response headers
Browse files Browse the repository at this point in the history
  • Loading branch information
Quentin-M authored and jzelinskie committed Feb 24, 2016
1 parent 41736e4 commit db974ae
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion api/v1/routes.go
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit db974ae

Please sign in to comment.