mirror of
https://github.com/overleaf/overleaf.git
synced 2025-04-20 16:25:43 +00:00
Merge pull request #4017 from overleaf/jpa-fix-notification-ack
[NotificationsBuilder] fix too broad acknowledge API calls GitOrigin-RevId: 4ddaeb33ccf4d4a4f5c36671c720ec3cd32ef761
This commit is contained in:
parent
1d95137e13
commit
55f2a6e000
1 changed files with 2 additions and 2 deletions
|
@ -51,7 +51,7 @@ function featuresUpgradedByAffiliation(affiliation, user) {
|
|||
if (callback == null) {
|
||||
callback = function () {}
|
||||
}
|
||||
NotificationsHandler.markAsReadByKeyOnly(this.key, callback)
|
||||
NotificationsHandler.markAsReadWithKey(user._id, this.key, callback)
|
||||
},
|
||||
}
|
||||
}
|
||||
|
@ -78,7 +78,7 @@ function redundantPersonalSubscription(affiliation, user) {
|
|||
if (callback == null) {
|
||||
callback = function () {}
|
||||
}
|
||||
NotificationsHandler.markAsReadByKeyOnly(this.key, callback)
|
||||
NotificationsHandler.markAsReadWithKey(user._id, this.key, callback)
|
||||
},
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue