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

Function fetchClan

app/core/store/modules/clans.js:110–115  ·  view source on GitHub ↗
({ commit }, { idOrSlug })

Source from the content-addressed store, hash-verified

108 },
109
110 async fetchClan ({ commit }, { idOrSlug }) {
111 const clan = await getClan(idOrSlug)
112 if (clan) {
113 commit('setClan', clan)
114 }
115 },
116
117 async fetchPublicClans ({ commit }) {
118 const clans = await getPublicClans()

Callers

nothing calls this directly

Calls 1

getClanFunction · 0.90

Tested by

no test coverage detected