(chartId)
| 94 | } |
| 95 | |
| 96 | function getByChartId(chartId) { |
| 97 | return db.Alert.findAll({ |
| 98 | where: { |
| 99 | chart_id: chartId, |
| 100 | }, |
| 101 | include: [{ model: db.AlertIntegration }], |
| 102 | }); |
| 103 | } |
| 104 | |
| 105 | function getByCdcId(cdcId) { |
| 106 | return db.Alert.findAll({ |