Code-Pop/Vuex_Fundamentals

Possible missing argument

Opened this issue · 0 comments

I was doing the Vue Mastery Real World Testing course and it seems like in this line you need this line:

fetchEvent({ commit }, id) {

to be fetchEvent({ commit, state }, id) { so that the action can access state.