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

Function addMembers

app/core/api/classrooms.js:51–57  ·  view source on GitHub ↗
({ classroomID, members }, options)

Source from the content-addressed store, hash-verified

49 },
50
51 addMembers ({ classroomID, members }, options) {
52 if (options == null) { options = {} }
53 return fetchJson(`/db/classroom/${classroomID}/add-members`, _.assign({}, options, {
54 method: 'POST',
55 json: { members }
56 }))
57 },
58
59 createStudentsForCodeNinja ({ classroomID, num }, options) {
60 if (options == null) { options = {} }

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected