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

Function fetchAll

app/core/store/modules/podcasts.js:41–47  ·  view source on GitHub ↗
({ commit })

Source from the content-addressed store, hash-verified

39 },
40 actions: {
41 async fetchAll ({ commit }) {
42 commit('setLoading', true)
43
44 const result = await getPodcasts()
45 commit('setPodcasts', result)
46 commit('setLoading', false)
47 },
48 async fetch ({ commit }, { podcastId }) {
49 const podcast = await getPodcast(podcastId)
50 commit('setPodcast', podcast)

Callers

nothing calls this directly

Calls 1

getPodcastsFunction · 0.90

Tested by

no test coverage detected