Skip to content

Commit

Permalink
fix: more indexes causing issues
Browse files Browse the repository at this point in the history
  • Loading branch information
Geoffroy Empain committed Dec 10, 2020
1 parent eb34433 commit 2b091d6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/db/setup-db-indexes.ts
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ export async function setupDbIndexes() {
},
{
fieldOrSpec: {
siteId: 1,
_id: 1,
'branches.name': 1,
},
options: {
Expand All @@ -52,7 +52,7 @@ export async function setupDbIndexes() {
},
{
fieldOrSpec: {
siteId: 1,
_id: 1,
'branches.slug': 1,
},
options: {
Expand Down

0 comments on commit 2b091d6

Please sign in to comment.