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

Function get

app/core/api/ai_scenarios.js:4–7  ·  view source on GitHub ↗
({ courseID }, options)

Source from the content-addressed store, hash-verified

2
3module.exports = {
4 get ({ courseID }, options) {
5 const effectiveOptions = options || {}
6 return fetchJson(`/db/ai_scenario/${courseID}`, effectiveOptions)
7 },
8
9 getAll (options, other) {
10 if (options == null) { options = {} }

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected