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

Function inviteMembers

app/core/api/classrooms.js:122–131  ·  view source on GitHub ↗
({ classroomID, emails, recaptchaResponseToken }, options)

Source from the content-addressed store, hash-verified

120 },
121
122 inviteMembers ({ classroomID, emails, recaptchaResponseToken }, options) {
123 if (options == null) { options = {} }
124 return fetchJson(`/db/classroom/${classroomID}/invite-members`, _.assign({}, options, {
125 method: 'POST',
126 json: {
127 emails,
128 recaptchaResponseToken
129 }
130 }))
131 },
132
133 removeMember ({ classroomID, userId }, options) {
134 if (options == null) { options = {} }

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected