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

Function getCodePointsLeaderboard

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

Source from the content-addressed store, hash-verified

20}
21
22export const getCodePointsLeaderboard = (clanId, options) => {
23 return fetchJson(`/db/clan/${clanId || '-'}/code-points?${$.param(options)}`)
24}
25
26export const getCodePointsRankForUser = (clanId, userId, options) => {
27 return fetchJson(`/db/clan/${clanId || '-'}/code-points/user/${userId || me.id}?${$.param(options)}`)

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected