test(topbar): add test for topbar

This commit is contained in:
hexxa 2021-11-14 22:42:37 +08:00 committed by Hexxa
parent 9a526736bb
commit e4e53b15f2
5 changed files with 148 additions and 3 deletions

View file

@ -646,7 +646,6 @@ func (h *MultiUsersSvc) Self(c *gin.Context) {
c.JSON(q.ErrResp(c, 500, err))
return
}
fmt.Println(user.Preferences)
c.JSON(200, &SelfResp{
ID: claims[q.UserIDParam],