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

Function getAll

app/core/api/ai_scenarios.js:9–16  ·  view source on GitHub ↗
(options, other)

Source from the content-addressed store, hash-verified

7 },
8
9 getAll (options, other) {
10 if (options == null) { options = {} }
11 let url = '/db/ai_scenario'
12 if (other) {
13 url = `/${other}${url}`
14 }
15 return fetchJson(url, options)
16 },
17
18 async getReleased (options) {
19 if (options == null) { options = {} }

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected