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

Function update

app/core/api/course-instances.js:63–69  ·  view source on GitHub ↗
({ courseInstanceID, updates }, options)

Source from the content-addressed store, hash-verified

61 },
62
63 update ({ courseInstanceID, updates }, options) {
64 if (options == null) { options = {} }
65 return fetchJson(`/db/course_instance/${courseInstanceID}`, _.assign({}, options, {
66 method: 'PUT',
67 json: updates
68 }))
69 },
70}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected