From 8f62e77884969068fe92d71879af0500d06d5ac9 Mon Sep 17 00:00:00 2001 From: Jordan Wright Date: Sat, 19 Nov 2016 09:16:59 -0600 Subject: [PATCH] Removed unused Location header --- controllers/api.go | 1 - 1 file changed, 1 deletion(-) diff --git a/controllers/api.go b/controllers/api.go index e84e6bfa..0d57916e 100644 --- a/controllers/api.go +++ b/controllers/api.go @@ -176,7 +176,6 @@ func API_Groups(w http.ResponseWriter, r *http.Request) { JSONResponse(w, models.Response{Success: false, Message: err.Error()}, http.StatusBadRequest) return } - w.Header().Set("Location", "http://localhost:3333/api/groups/"+string(g.Id)) JSONResponse(w, g, http.StatusCreated) } }