Deletion fix

This commit is contained in:
Milan Paunovic
2024-12-24 23:19:23 +01:00
parent 609d01b81c
commit 7d3e39b77d
23 changed files with 312 additions and 638 deletions

View File

@ -355,7 +355,8 @@ exports.processEventBatches = functions.pubsub
content: notificationMessage,
timestamp: admin.firestore.FieldValue.serverTimestamp(),
creatorId,
eventCount: events.length
eventCount: events.length,
eventId: events.length === 1 ? events[0].id : undefined
});
}