MCPcopy Create free account
hub / github.com/codecombat/codecombat / updateUser

Function updateUser

app/core/store/modules/me.js:158–161  ·  view source on GitHub ↗
(state, updates)

Source from the content-addressed store, hash-verified

156
157 mutations: {
158 updateUser (state, updates) {
159 // deep copy, since nested data may be changed, and vuex store restricts mutations
160 return _.assign(state, $.extend(true, {}, updates))
161 },
162 },
163
164 actions: {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected