mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-21 20:47:08 -05:00
88f5f29982
Set the `expires` field to be a date in the future, after which the document should be removed.
309 B
309 B
notifications-sharelatex
An API for managing user notifications in ShareLaTeX
database indexes
For notification expiry to work, a TTL index on notifications.expires
must be created:
db.notifications.createIndex({expires: 1}, {expireAfterSeconds: 10})