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

Function saveInstance

app/core/store/modules/events.js:159–161  ·  view source on GitHub ↗
({ commit }, instance)

Source from the content-addressed store, hash-verified

157 return await deleteEventMember(eventId, member)
158 },
159 async saveInstance ({ commit }, instance) {
160 return await putInstance(instance._id, instance)
161 },
162 async fetchMemberNames ({ getters, commit }) {
163 const names = await getFullNames({ ids: getters.allMemberIds, from: 'online-classes' })
164 commit('setMemberNames', names)

Callers

nothing calls this directly

Calls 1

putInstanceFunction · 0.90

Tested by

no test coverage detected