Merge pull request #17586 from overleaf/dp-fix-IEEE-script
Fix notification deletion in IEEE script GitOrigin-RevId: cb921f87290202e3116aeafc3341d3bff782d6fa
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user