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

Function getRelatedAccount

app/core/api/users.js:203–207  ·  view source on GitHub ↗
({ userId })

Source from the content-addressed store, hash-verified

201 },
202
203 getRelatedAccount ({ userId }) {
204 return fetchJson(`/db/user/related-accounts/${userId}`, _.assign({}, {
205 method: 'GET'
206 }))
207 },
208
209 verifyRelatedAccount ({ userAskingToRelateId, body }) {
210 return fetchJson(`/db/user/related-accounts/${userAskingToRelateId}/verify`, _.assign({}, {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected