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

Function fetchPublicClans

app/core/store/modules/clans.js:117–122  ·  view source on GitHub ↗
({ commit })

Source from the content-addressed store, hash-verified

115 },
116
117 async fetchPublicClans ({ commit }) {
118 const clans = await getPublicClans()
119 for (const clan of clans) {
120 commit('setClan', clan)
121 }
122 },
123
124 async fetchChildClanDetails ({ commit }, { id }) {
125 const childClans = await getChildClanDetails(id)

Callers

nothing calls this directly

Calls 1

getPublicClansFunction · 0.90

Tested by

no test coverage detected