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

Function createCinematic

ozaria/site/api/cinematic.js:53–57  ·  view source on GitHub ↗
({ name }, options = {})

Source from the content-addressed store, hash-verified

51 * @returns {Promise<import('../../../app/schemas/models/selectors/cinematic').Cinematic} raw Cinematic object
52 */
53export const createCinematic = ({ name }, options = {}) =>
54 fetchJson('/db/cinematic', _.assign({}, options, {
55 method: 'POST',
56 json: { name }
57 }))

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected