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

Function sendTeacherGameDevProjectShare

app/core/contact.js:73–79  ·  view source on GitHub ↗
({ teacherEmail, sessionId, codeLanguage, levelName })

Source from the content-addressed store, hash-verified

71 },
72
73 sendTeacherGameDevProjectShare ({ teacherEmail, sessionId, codeLanguage, levelName }) {
74 const jqxhr = $.ajax('/contact/send-teacher-game-dev-project-share', {
75 method: 'POST',
76 data: { teacherEmail, sessionId, levelName, codeLanguage: _.string.titleize(codeLanguage).replace('script', 'Script') }
77 })
78 return new Promise(jqxhr.then)
79 },
80
81 sendSlackMessage (data) {
82 try {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected