chore: necessary updates given the changes in the alert controller
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user