diff --git a/Metadata.go b/Metadata.go index 0efda4a..1d40d7b 100644 --- a/Metadata.go +++ b/Metadata.go @@ -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 }