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

Function getCommon

app/core/api/user-code-problems.js:15–21  ·  view source on GitHub ↗
({ levelSlug, startDay, endDay }, options)

Source from the content-addressed store, hash-verified

13 // startDay optional
14 // endDay optional
15 getCommon ({ levelSlug, startDay, endDay }, options) {
16 if (options == null) { options = {} }
17 return fetchJson('/db/user.code.problem/-/common_problems', _.assign({}, options, {
18 method: 'POST',
19 json: { slug: levelSlug, startDay, endDay }
20 }))
21 }
22}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected