mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-07 20:31:06 -05:00
Correct name of expireAfterSeconds index
This commit is contained in:
parent
62d544ccfc
commit
e70f121461
1 changed files with 1 additions and 1 deletions
|
@ -16,7 +16,7 @@ ProjectInviteSchema = new Schema(
|
||||||
sendingUserId: ObjectId
|
sendingUserId: ObjectId
|
||||||
projectId: ObjectId
|
projectId: ObjectId
|
||||||
privileges: String
|
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'
|
collection: 'projectInvites'
|
||||||
|
|
Loading…
Reference in a new issue