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

Function getApiClientIdFromEmail

app/core/utils.js:1257–1262  ·  view source on GitHub ↗
(email)

Source from the content-addressed store, hash-verified

1255}
1256
1257const getApiClientIdFromEmail = function (email) {
1258 if (/@codeninjas.com$/i.test(email)) { // hard coded for code ninjas since a lot of their users do not have clientCreator set
1259 const clientID = '57fff652b0783842003fed00'
1260 return clientID
1261 }
1262}
1263
1264// hard-coded 3 CS1 levels with concept video details
1265// TODO: move them to database if more such levels

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected