chore(dep): upgrade dependency
This commit is contained in:
parent
072b8b7fd7
commit
3531e7a265
3 changed files with 5 additions and 2 deletions
|
@ -259,6 +259,7 @@ func (us *KVUserStore) SetUsed(id uint64, incr bool, capacity int64) error {
|
|||
if !ok {
|
||||
return fmt.Errorf("user (%d) does not exist", id)
|
||||
}
|
||||
|
||||
gotUser := &User{}
|
||||
err := json.Unmarshal([]byte(infoStr), gotUser)
|
||||
if err != nil {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue