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

Function createAIJuniorScenario

app/core/api/ai-junior-scenarios.js:3–7  ·  view source on GitHub ↗
({ ...opts }, options = {})

Source from the content-addressed store, hash-verified

1import fetchJson from 'app/core/api/fetch-json'
2
3export const createAIJuniorScenario = ({ ...opts }, options = {}) =>
4 fetchJson('/db/ai_junior_scenario', _.assign({}, options, {
5 method: 'POST',
6 json: { ...opts }
7 }))
8
9export const getAIJuniorScenarios = (options = {}) => fetchJson('/db/ai_junior_scenario', options)
10

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected