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

Function fetchOther

app/core/store/modules/courses.js:51–54  ·  view source on GitHub ↗
({ commit, state }, other)

Source from the content-addressed store, hash-verified

49 },
50
51 fetchOther ({ commit, state }, other) {
52 if (state.loadedOther) { return Promise.resolve() }
53 return api.courses.getAll({}, other).then(courses => commit('addOtherCourses', courses)).catch(_err => console.log('other product seems offline, skipping...'))
54 },
55
56 fetchReleased ({ commit, state }, options) {
57 if (options == null) { options = {} }

Callers

nothing calls this directly

Calls 1

logMethod · 0.80

Tested by

no test coverage detected