From ac1a7c4c52b43fb54eeec64e7095741aaf32c420 Mon Sep 17 00:00:00 2001 From: Miguel Serrano Date: Wed, 22 Apr 2020 11:36:02 +0200 Subject: [PATCH] Merge pull request #2752 from overleaf/ta-notifications-mark-as-read-fix Fix `markAsRead` Calls GitOrigin-RevId: 89609251a082adb825522141864cd3f44315ae45 --- .../app/src/Features/Notifications/NotificationsBuilder.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/services/web/app/src/Features/Notifications/NotificationsBuilder.js b/services/web/app/src/Features/Notifications/NotificationsBuilder.js index cde8c09a4f..f7be3568f1 100644 --- a/services/web/app/src/Features/Notifications/NotificationsBuilder.js +++ b/services/web/app/src/Features/Notifications/NotificationsBuilder.js @@ -39,7 +39,7 @@ module.exports = { if (callback == null) { callback = function() {} } - return NotificationsHandler.markAsRead(this.key, callback) + return NotificationsHandler.markAsReadByKeyOnly(this.key, callback) } } }, @@ -66,7 +66,7 @@ module.exports = { if (callback == null) { callback = function() {} } - return NotificationsHandler.markAsRead(this.key, callback) + return NotificationsHandler.markAsReadByKeyOnly(this.key, callback) } } },