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

Function get

app/core/api/ai_models.js:4–7  ·  view source on GitHub ↗
({ courseID: modelID }, options)

Source from the content-addressed store, hash-verified

2
3module.exports = {
4 get ({ courseID: modelID }, options) {
5 const effectiveOptions = options || {}
6 return fetchJson(`/db/ai_model/${modelID}`, effectiveOptions)
7 },
8
9 getAll (options = {}) {
10 const url = '/db/ai_model'

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected