Rename hash to sha1

This commit is contained in:
Eliot Whalan 2016-07-16 09:42:24 +10:00
parent 33653ff943
commit 8d3a6bcd35
1 changed files with 1 additions and 1 deletions

View File

@ -52,7 +52,7 @@ var syntax, _ = ioutil.ReadFile("assets/syntax.html")
type Response struct { type Response struct {
ID string `json:"id"` ID string `json:"id"`
TITLE string `json:"title"` TITLE string `json:"title"`
HASH string `json:"hash"` SHA1 string `json:"sha1"`
URL string `json:"url"` URL string `json:"url"`
SIZE int `json:"size"` SIZE int `json:"size"`
DELKEY string `json:"delkey"` DELKEY string `json:"delkey"`