add: is_read & updated_at in notif error user at notif error

This commit is contained in:
2026-01-05 11:25:25 +07:00
parent adaa9fda9a
commit 402c1c0705
2 changed files with 4 additions and 2 deletions

View File

@@ -165,7 +165,9 @@ const getUsersNotificationErrorDb = async (id) => {
a.notification_error_user_id, a.notification_error_user_id,
a.contact_phone, a.contact_phone,
a.contact_name, a.contact_name,
c.is_active c.is_active,
c.is_read,
c.updated_at
FROM notification_error_user a FROM notification_error_user a

View File

@@ -75,7 +75,7 @@ const getNotificationErrorByIdDb = async (notification_error_id) => {
const queryText = ` const queryText = `
SELECT SELECT
a.*, a.*,
b. is_active as contact_is_active, b.is_active as contact_is_active,
c.is_read c.is_read
FROM notification_error_user a FROM notification_error_user a