Skip to content
This repository has been archived by the owner on Sep 15, 2024. It is now read-only.

Commit

Permalink
refactor: add more weight to loanee username
Browse files Browse the repository at this point in the history
  • Loading branch information
Dwigoric committed Nov 21, 2023
1 parent 0a0e2af commit 54a1b93
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/models/loanee.js
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ LoaneeSchema.index(
},
{
weights: {
username: 10,
username: 20,
'name.given': 5,
'name.middle': 3,
'name.last': 5
Expand Down

0 comments on commit 54a1b93

Please sign in to comment.