fix: simplify notification update logic by removing is_active flag from notification error update
This commit is contained in:
@@ -172,7 +172,7 @@ class NotificationService {
|
|||||||
if (!notification.is_read) {
|
if (!notification.is_read) {
|
||||||
const updateStatus = await updateNotificationErrorDb(
|
const updateStatus = await updateNotificationErrorDb(
|
||||||
notification_error_id,
|
notification_error_id,
|
||||||
{ is_read: true, is_active: 0 }
|
{ is_read: true}
|
||||||
);
|
);
|
||||||
|
|
||||||
if (!updateStatus) {
|
if (!updateStatus) {
|
||||||
|
|||||||
Reference in New Issue
Block a user