mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-21 20:47:08 -05: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
|
// First we remove all existing Collabratec retirement notifications
|
||||||
if (COMMIT) {
|
if (COMMIT) {
|
||||||
await NotificationsBuilder.promises
|
await db.notifications.deleteMany({
|
||||||
.ieeeCollabratecRetirement()
|
key: 'notification-ieee-collabratec-retirement',
|
||||||
.deleteAllUnread()
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
let totalUsers = 0
|
let totalUsers = 0
|
||||||
|
|
Loading…
Reference in a new issue