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

Function get

app/core/api/campaigns.js:16–19  ·  view source on GitHub ↗
({ campaignHandle }, options)

Source from the content-addressed store, hash-verified

14 return fetchJson('/db/campaign', options)
15 },
16 get ({ campaignHandle }, options) {
17 if (options == null) { options = {} }
18 return fetchJson(`/db/campaign/${campaignHandle}`, options)
19 },
20 fetchGameContent (campaignHandle, options) {
21 if (options == null) { options = {} }
22 return fetchJson(`/db/campaign/${campaignHandle}/game-content`, options)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected