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

Function url

app/core/api/users.js:12–12  ·  view source on GitHub ↗
(userID, path)

Source from the content-addressed store, hash-verified

10
11module.exports = {
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)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected