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

Function getNcesData

app/core/trialRequestUtil.js:5–7  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

3const ROOT_LEVEL_KEYS = ['_id', 'type', 'status', 'reviewer', 'applicant']
4
5function getNcesData () {
6 return SCHOOL_NCES_KEYS.reduce((prev, curr) => setAndReturn(prev, `nces_${curr}`, ''), {})
7}
8
9function getRootLevelData () {
10 return ROOT_LEVEL_KEYS.reduce((prev, key) => setAndReturn(prev, key, ''), {})

Callers

nothing calls this directly

Calls 1

setAndReturnFunction · 0.70

Tested by

no test coverage detected