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

Function fetchLevels

app/core/api/campaigns.js:28–31  ·  view source on GitHub ↗
(campaignHandle, options)

Source from the content-addressed store, hash-verified

26 return fetchJson('/db/campaign/-/overworld', options)
27 },
28 fetchLevels (campaignHandle, options) {
29 if (options == null) { options = {} }
30 return fetchJson(`/db/campaign/${campaignHandle}/levels`, options)
31 }
32
33}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected