MCPcopy Index your code
hub / github.com/codecombat/codecombat / joinClass

Function joinClass

ozaria/site/store/StudentAuthStoreModule.js:93–98  ·  view source on GitHub ↗
({ state })

Source from the content-addressed store, hash-verified

91 }
92 },
93 async joinClass ({ state }) {
94 if (state.classCode && state.classroom) {
95 const classroom = new Classroom(state.classroom)
96 await new Promise(classroom.joinWithCode(state.classCode).then)
97 }
98 },
99 async setHocOptions ({ state, commit, dispatch }) {
100 const saveOptions = {}
101 if (state.isHourOfCode) {

Callers

nothing calls this directly

Calls 1

joinWithCodeMethod · 0.95

Tested by

no test coverage detected