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

Function getByHandle

app/core/api/users.js:14–16  ·  view source on GitHub ↗
(handle, options)

Source from the content-addressed store, hash-verified

12 url (userID, path) { if (path) { return `/db/user/${userID}/${path}` } else { return `/db/user/${userID}` } },
13
14 getByHandle (handle, options) {
15 return fetchJson(`/db/user/${handle}`, options)
16 },
17
18 getByEmail ({ email }, options) {
19 if (options == null) { options = {} }

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected