fix(userstore): use copy of default preferences
This commit is contained in:
parent
edcec3698f
commit
769ddb078a
3 changed files with 9 additions and 5 deletions
|
@ -51,7 +51,6 @@ func (h *SettingsSvc) SetClientCfg(c *gin.Context) {
|
|||
c.JSON(q.ErrResp(c, 400, err))
|
||||
return
|
||||
}
|
||||
h.deps.Log().Info(req.ClientCfg)
|
||||
|
||||
if err = validateClientCfg(req.ClientCfg); err != nil {
|
||||
c.JSON(q.ErrResp(c, 400, err))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue