delete: api is ready & not read

This commit is contained in:
2025-12-18 13:04:57 +07:00
parent dd5e1cc713
commit 5e7de6d144
4 changed files with 12 additions and 269 deletions

View File

@@ -25,35 +25,6 @@ class NotificationErrorController {
res.status(response.statusCode).json(response);
}
static async getAllIsRead(req, res) {
const queryParams = req.query;
const results = await NotificationErrorService.getAllNotificationIsRead(
queryParams
);
const response = await setResponsePaging(
queryParams,
results,
"Notification found"
);
res.status(response.statusCode).json(response);
}
static async getAllIsNotRead(req, res) {
const queryParams = req.query;
const results = await NotificationErrorService.getAllNotificationIsNotRead(
queryParams
);
const response = await setResponsePaging(
queryParams,
results,
"Notification found"
);
res.status(response.statusCode).json(response);
}
static async getById(req, res) {
const { id } = req.params;