feat(server): support SetUser api

This commit is contained in:
hexxa 2021-08-24 21:35:28 +08:00 committed by Hexxa
parent c2673cd416
commit 9cd6d6f84b
4 changed files with 67 additions and 2 deletions

View file

@ -315,6 +315,7 @@ func (us *KVUserStore) SetInfo(id uint64, user *User) error {
if err != nil {
return err
}
return us.store.SetStringIn(UsersNs, userID, string(infoBytes))
}