compatibility fixes for hashids library

This commit is contained in:
mappu 2018-06-09 18:10:49 +12:00
parent fe4aace777
commit ca8a0d55ba
1 changed files with 1 additions and 1 deletions

View File

@ -47,7 +47,7 @@ func idToString(v uint64) string {
hd := hashids.NewData()
hd.Salt = hashIdSalt
hd.MinLength = hashIdMinLength
h, _ := hashids.NewWithData(hd)
h := hashids.NewWithData(hd)
s, _ := h.EncodeInt64([]int64{int64(v)})
return s
}