wisdom #26

Merged
bragaz_rexita merged 2 commits from wisdom into main 2026-01-06 11:41:36 +00:00
Showing only changes of commit f3abaeac39 - Show all commits

View File

@@ -150,8 +150,9 @@ class NotificationService {
const notification = Array.isArray(dataExist) ? dataExist[0] : dataExist;
if (notification.is_read === true) {
throw new ErrorHandler(400, "Notification has already been read");
}
return {success: true, message:"Notification has already been read"};
}
if (!notification.is_read) {
const updateStatus = await updateNotificationErrorDb(