feat(fe): enable preferences in fe client and state

This commit is contained in:
hexxa 2021-10-17 17:30:36 +08:00 committed by Hexxa
parent 1f6fa6d370
commit 5ff6988e0d
8 changed files with 48 additions and 16 deletions

View file

@ -698,8 +698,6 @@ func (h *MultiUsersSvc) SetPreferences(c *gin.Context) {
return
}
// userstore.setPreferences
uidStr, ok := claims[q.UserIDParam]
if !ok {
c.JSON(q.ErrResp(c, 500, errors.New("user id not found")))