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

Function joinClan

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

Source from the content-addressed store, hash-verified

12export const getClanByDistrictId = Id => fetchJson(`/db/clan/districtId/${Id}`)
13
14export const joinClan = clanId => fetchJson(`/db/clan/${clanId}/join`, {
15 method: 'PUT'
16})
17
18export const leaveClan = clanId => fetchJson(`/db/clan/${clanId}/leave`, {
19 method: 'PUT'

Callers 1

onClickJoinClanButtonMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected