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

Function getAll

app/core/api/campaigns.js:12–15  ·  view source on GitHub ↗
(options)

Source from the content-addressed store, hash-verified

10
11module.exports = {
12 getAll (options) {
13 if (options == null) { options = {} }
14 return fetchJson('/db/campaign', options)
15 },
16 get ({ campaignHandle }, options) {
17 if (options == null) { options = {} }
18 return fetchJson(`/db/campaign/${campaignHandle}`, options)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected