({ commit })
| 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) |
nothing calls this directly
no test coverage detected