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

Function saveEvent

app/core/store/modules/events.js:144–146  ·  view source on GitHub ↗
({ commit }, event)

Source from the content-addressed store, hash-verified

142 commit('setEvent', event)
143 },
144 async saveEvent ({ commit }, event) {
145 return await postEvent(event)
146 },
147 async editEvent ({ commit }, event) {
148 return await updateEvent(event._id, event)
149 },

Callers

nothing calls this directly

Calls 1

postEventFunction · 0.90

Tested by

no test coverage detected