Added alert dialog context trigger to quick alert bell.
This commit is contained in:
@@ -14,9 +14,9 @@ export async function fetchAlertsApi(req, res) {
|
||||
}
|
||||
|
||||
export async function createAlertApi(req, res) {
|
||||
const alertId = await createAlert(req.body, req.user);
|
||||
const alert = await createAlert(req.body, req.user);
|
||||
|
||||
res.send({ id: alertId });
|
||||
res.send(alert);
|
||||
}
|
||||
|
||||
export async function removeAlertApi(req, res) {
|
||||
|
||||
Reference in New Issue
Block a user