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

Function getCodePointsRankForUser

app/core/api/leaderboard.js:26–28  ·  view source on GitHub ↗
(clanId, userId, options)

Source from the content-addressed store, hash-verified

24}
25
26export const getCodePointsRankForUser = (clanId, userId, options) => {
27 return fetchJson(`/db/clan/${clanId || '-'}/code-points/user/${userId || me.id}?${$.param(options)}`)
28}
29
30export const getCodePointsPlayerCount = (clanId, options) => {
31 return fetchJson(`/db/clan/${clanId || '-'}/code-points-member-count?${$.param(options)}`)

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected