repair: notification error log

This commit is contained in:
2025-11-25 14:56:49 +07:00
parent 78a813e9ec
commit 662cf6f5f3
4 changed files with 31 additions and 2 deletions

View File

@@ -59,6 +59,17 @@ class NotificationErrorLogService {
}
}
// Get Notification Error Log by notification_error_id
static async getNotificationErrorLogByNotificationErrorId(notificationErrorId) {
try {
const results = await getNotificationErrorLogByNotificationErrorIdDb(notificationErrorId);
return results;
} catch (error) {
throw new ErrorHandler(error.statusCode, error.message);
}
}
// Soft delete Notification Error Log
static async deleteNotificationErrorLog(id, userId) {
try {