diff --git a/delete.go b/delete.go index 30bd2bb..3f8e429 100644 --- a/delete.go +++ b/delete.go @@ -12,8 +12,7 @@ func deleteHandler(c web.C, w http.ResponseWriter, r *http.Request) { requestKey := r.Header.Get("Linx-Delete-Key") if len(r.URL.Query().Get("linx-delete-key")) > 0 { - _ := requestKey - requestKey := r.URL.Query().Get("linx-delete-key") + requestKey = r.URL.Query().Get("linx-delete-key") } filename := c.URLParams["name"]