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

Function fetchEvent

app/core/store/modules/events.js:139–143  ·  view source on GitHub ↗
({ commit }, eventId)

Source from the content-addressed store, hash-verified

137 }
138 },
139 async fetchEvent ({ commit }, eventId) {
140 const event = await getEvent(eventId)
141 event.instances = await getInstances(eventId)
142 commit('setEvent', event)
143 },
144 async saveEvent ({ commit }, event) {
145 return await postEvent(event)
146 },

Callers

nothing calls this directly

Calls 2

getEventFunction · 0.90
getInstancesFunction · 0.90

Tested by

no test coverage detected