chore: necessary updates given the changes in the alert controller

This commit is contained in:
voltsrage
2026-06-25 00:40:47 +08:00
parent 666d683d67
commit 7bb9124230
32 changed files with 353 additions and 40 deletions
+4
View File
@@ -1,5 +1,9 @@
import { api } from './client'
export function fetchAlertById(alertId) {
return api.get(`/api/v1/alerts/${alertId}`)
}
export function fetchAlerts(encounterId, status) {
const params = new URLSearchParams()
if (status) params.set('status', status)