parent
94fbc0d32e
commit
b56b8ab0ac
|
@ -47,7 +47,7 @@ func SetTotalJoke(db *pgxpool.Pool, ctx context.Context, memory *bigcache.BigCac
|
|||
return err
|
||||
}
|
||||
|
||||
var total = []byte{byte(len(data))}
|
||||
var total = []byte(strconv.Itoa(len(data)))
|
||||
err = memory.Set("total", total)
|
||||
if err != nil {
|
||||
return err
|
||||
|
|
Loading…
Reference in New Issue