Skip to content

Commit

Permalink
Probably fix broadcast query
Browse files Browse the repository at this point in the history
  • Loading branch information
matteocontrini committed Aug 1, 2024
1 parent 8bd6270 commit 6e0cd3c
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions lib/db/db.js
Original file line number Diff line number Diff line change
Expand Up @@ -210,9 +210,7 @@ let chats = {
// The value converts meters to kilometers
distanceMultiplier: 0.001,
// This lets MongoDB know that we live on a spherical planet
spherical: true,
// Override default value of 100 returned documents
limit: 100000
spherical: true
}
},
// Replace the 'chat' (ID) field with the full chat object
Expand Down

0 comments on commit 6e0cd3c

Please sign in to comment.