add: is_read & updated_at in notif error user at notif error
This commit is contained in:
@@ -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
|
||||||
|
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user