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

Function post

app/core/api/course-instances.js:45–51  ·  view source on GitHub ↗
(courseInstanceDetails, options)

Source from the content-addressed store, hash-verified

43
44 // courseInstanceDetails = {classroomID: '', courseID: ''}
45 post (courseInstanceDetails, options) {
46 if (options == null) { options = {} }
47 return fetchJson('/db/course_instance', _.assign({}, options, {
48 method: 'POST',
49 json: courseInstanceDetails
50 }))
51 },
52
53 removeMember (courseInstanceID, options) {
54 if (options == null) { options = {} }

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected