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

Function removeMember

app/core/api/course-instances.js:53–61  ·  view source on GitHub ↗
(courseInstanceID, options)

Source from the content-addressed store, hash-verified

51 },
52
53 removeMember (courseInstanceID, options) {
54 if (options == null) { options = {} }
55 return fetchJson(`/db/course_instance/${courseInstanceID}/members`, _.assign({}, options, {
56 method: 'DELETE',
57 json: {
58 userID: options.memberId
59 }
60 }))
61 },
62
63 update ({ courseInstanceID, updates }, options) {
64 if (options == null) { options = {} }

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected