Skip to content

Commit

Permalink
fix: duplicate index key error team.member undefined
Browse files Browse the repository at this point in the history
  • Loading branch information
Geoffroy Empain committed Dec 10, 2020
1 parent 4a808da commit 10341f2
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions src/db/setup-db-indexes.ts
Original file line number Diff line number Diff line change
Expand Up @@ -121,14 +121,6 @@ export async function setupDbIndexes() {
},
],
[Teams().collectionName]: [
{
fieldOrSpec: {
members: 1,
},
options: {
unique: true,
},
},
{
fieldOrSpec: {
name: 'text',
Expand Down

0 comments on commit 10341f2

Please sign in to comment.