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

Function getClanByDistrictId

app/core/api/clans.js:12–12  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

10export const getClanBySchool = ncesId => fetchJson(`/db/clan/school/${ncesId}`)
11export const getClanByDistrict = ncesId => fetchJson(`/db/clan/district/${ncesId}`)
12export const getClanByDistrictId = Id => fetchJson(`/db/clan/districtId/${Id}`)
13
14export const joinClan = clanId => fetchJson(`/db/clan/${clanId}/join`, {
15 method: 'PUT'

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected