Update delete.go
This commit is contained in:
parent
84f455da41
commit
5f8ed2aa47
|
@ -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"]
|
||||
|
|
Loading…
Reference in New Issue