mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-06-07 08:09:01 +02:00
Correct name of expireAfterSeconds index
This commit is contained in:
@@ -16,7 +16,7 @@ ProjectInviteSchema = new Schema(
|
||||
sendingUserId: ObjectId
|
||||
projectId: ObjectId
|
||||
privileges: String
|
||||
createdAt: {type: Date, default: Date.now, index: {expiresAfterSeconds: THIRTY_DAYS_IN_SECONDS}}
|
||||
createdAt: {type: Date, default: Date.now, index: {expireAfterSeconds: THIRTY_DAYS_IN_SECONDS}}
|
||||
},
|
||||
{
|
||||
collection: 'projectInvites'
|
||||
|
||||
Reference in New Issue
Block a user