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

Function fetchMyClans

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

Source from the content-addressed store, hash-verified

101 },
102
103 async fetchMyClans ({ commit }) {
104 const clans = await getMyClans()
105 for (const clan of clans) {
106 commit('setClan', clan)
107 }
108 },
109
110 async fetchClan ({ commit }, { idOrSlug }) {
111 const clan = await getClan(idOrSlug)

Callers

nothing calls this directly

Calls 1

getMyClansFunction · 0.90

Tested by

no test coverage detected