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

Function resetProgressOfUserInCourseInstance

app/core/api/level-sessions.js:70–75  ·  view source on GitHub ↗
(courseInstanceId, userId, options)

Source from the content-addressed store, hash-verified

68 },
69
70 resetProgressOfUserInCourseInstance (courseInstanceId, userId, options) {
71 if (options == null) { options = {} }
72 return fetchJson(`/db/course_instances/${courseInstanceId}/users/${userId}/reset-progress`, _.merge({}, options, {
73 method: 'DELETE'
74 }))
75 }
76}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected