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

Method getRelatedAccounts

app/models/User.js:1314–1317  ·  view source on GitHub ↗
(body, options = {})

Source from the content-addressed store, hash-verified

1312 }
1313
1314 getRelatedAccounts (body, options = {}) {
1315 options.url = '/db/user/related-accounts/details'
1316 return this.fetch(options)
1317 }
1318
1319 getTestStudentId () {
1320 const testStudentRelation = (this.get('related') || []).filter(related => related.relation === 'TestStudent')[0]

Callers

nothing calls this directly

Calls 1

fetchMethod · 0.45

Tested by

no test coverage detected