mirror of
https://github.com/overleaf/overleaf.git
synced 2024-12-28 18:02:28 +00:00
Merge pull request #17586 from overleaf/dp-fix-IEEE-script
Fix notification deletion in IEEE script GitOrigin-RevId: cb921f87290202e3116aeafc3341d3bff782d6fa
This commit is contained in:
parent
d40186248d
commit
af7ca5d212
1 changed files with 3 additions and 3 deletions
|
@ -85,9 +85,9 @@ async function main() {
|
|||
|
||||
// First we remove all existing Collabratec retirement notifications
|
||||
if (COMMIT) {
|
||||
await NotificationsBuilder.promises
|
||||
.ieeeCollabratecRetirement()
|
||||
.deleteAllUnread()
|
||||
await db.notifications.deleteMany({
|
||||
key: 'notification-ieee-collabratec-retirement',
|
||||
})
|
||||
}
|
||||
|
||||
let totalUsers = 0
|
||||
|
|
Loading…
Reference in a new issue