({ commit })
| 189 | |
| 190 | actions: { |
| 191 | async doFetch({ commit }) { |
| 192 | try { |
| 193 | commit('FETCH_STARTED'); |
| 194 | |
| 195 | const response = await IntegrationService.list(); |
| 196 | |
| 197 | commit('FETCH_SUCCESS', { |
| 198 | rows: response.rows, |
| 199 | count: response.count, |
| 200 | }); |
| 201 | } catch (error) { |
| 202 | Errors.handle(error); |
| 203 | commit('FETCH_ERROR'); |
| 204 | } |
| 205 | }, |
| 206 | |
| 207 | async doDestroy({ commit }, integrationId) { |
| 208 | try { |