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

Function fetchOnlineTeacherInfo

app/core/api/admin.js:46–48  ·  view source on GitHub ↗
(userId)

Source from the content-addressed store, hash-verified

44 },
45
46 fetchOnlineTeacherInfo (userId) {
47 return fetchJson(`/db/online-teachers/${userId}`)
48 },
49
50 putOnlineTeacherInfo (_id, data) {
51 return fetchJson(`/db/online-teachers/${_id}`, { method: 'PUT', json: data })

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected