Fixup missing variable name
This commit is contained in:
parent
55d3c2f3ab
commit
975148d4c7
2
main.go
2
main.go
|
@ -151,7 +151,7 @@ func save(raw string, lang string, title string, expiry string) []string {
|
||||||
check(err)
|
check(err)
|
||||||
}
|
}
|
||||||
db.Close()
|
db.Close()
|
||||||
return []string{id, title, sha, url, paste, delKey}
|
return []string{id, title, sha, url, dataEscaped, delKey}
|
||||||
}
|
}
|
||||||
|
|
||||||
func delHandler(w http.ResponseWriter, r *http.Request) {
|
func delHandler(w http.ResponseWriter, r *http.Request) {
|
||||||
|
|
Loading…
Reference in New Issue