feat: Added team invite creation

This commit is contained in:
2023-06-06 22:28:26 +02:00
parent f9c13e5ada
commit 70b0b86a23
4 changed files with 22 additions and 2 deletions

View File

@@ -18,7 +18,7 @@ const userSchema = new Schema({
teamAdmin: Boolean
},
teamInvites: [
Types.ObjectId
{ type: Types.ObjectId, ref: 'Team' }
]
})