(events)
| 10 | import { getMembersByClassCode } from '../../api/classrooms' |
| 11 | |
| 12 | function fetchInstancesForEvents (events) { |
| 13 | const promises = [] |
| 14 | for (const event of events) { |
| 15 | promises.push(getInstances(event._id)) |
| 16 | } |
| 17 | return Promise.all(promises) |
| 18 | } |
| 19 | |
| 20 | export default { |
| 21 | namespaced: true, |
no test coverage detected