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