repair: change readers to users in detail notification
This commit is contained in:
@@ -131,14 +131,14 @@ const updateNotificationErrorDb = async (id, data) => {
|
||||
return getNotificationByIdDb(id);
|
||||
};
|
||||
|
||||
const getReaderNotificationErrorDb = async (id) => {
|
||||
const getUsersNotificationErrorDb = async (id) => {
|
||||
const queryText = `
|
||||
SELECT
|
||||
b.notification_error_id,
|
||||
a.notification_error_user_id,
|
||||
a.contact_phone,
|
||||
a.contact_name,
|
||||
a.is_send,
|
||||
b.message_error_issue
|
||||
a.is_send
|
||||
|
||||
FROM notification_error_user a
|
||||
|
||||
@@ -157,6 +157,6 @@ module.exports = {
|
||||
getAllNotificationDb,
|
||||
InsertNotificationErrorDb,
|
||||
updateNotificationErrorDb,
|
||||
getReaderNotificationErrorDb
|
||||
getUsersNotificationErrorDb
|
||||
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user