Add missing comma

This commit is contained in:
Eliot Whalan 2016-06-24 17:12:32 +10:00
parent 746a08a56a
commit 79f53f9adc
1 changed files with 1 additions and 1 deletions

View File

@ -88,7 +88,7 @@ func save(raw string, lang string, title string) []string {
check(err)
sha := hash(raw)
query, err := db.Query("select id, title hash, data, delkey from pastebin")
query, err := db.Query("select id, title, hash, data, delkey from pastebin")
for query.Next() {
var id, title, hash, paste, delkey string
err := query.Scan(&id, &title, &hash, &paste, &delkey)