You've already forked focalboard
mirror of
https://github.com/mattermost/focalboard.git
synced 2025-07-12 23:50:27 +02:00
Update user store to return the updated entities after inserting / patching them (#3843)
This commit is contained in:
committed by
GitHub
parent
f574286e6e
commit
dfa9d8f452
@ -115,7 +115,6 @@ func (a *API) handleGetMe(w http.ResponseWriter, r *http.Request) {
|
||||
Email: model.SingleUser,
|
||||
CreateAt: ws.UpdateAt,
|
||||
UpdateAt: now,
|
||||
Props: map[string]interface{}{},
|
||||
}
|
||||
} else {
|
||||
user, err = a.app.GetUser(userID)
|
||||
@ -280,7 +279,7 @@ func (a *API) handleUpdateUserConfig(w http.ResponseWriter, r *http.Request) {
|
||||
return
|
||||
}
|
||||
|
||||
var patch *model.UserPropPatch
|
||||
var patch *model.UserPreferencesPatch
|
||||
err = json.Unmarshal(requestBody, &patch)
|
||||
if err != nil {
|
||||
a.errorResponse(w, r, err)
|
||||
|
Reference in New Issue
Block a user