Skip to content

Commit

Permalink
Update authLogin.js
Browse files Browse the repository at this point in the history
  • Loading branch information
talafarael committed May 29, 2024
1 parent 9bd5637 commit c41640e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Router/authLogin.js
Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,7 @@ class authController {

const regex = new RegExp(value, "i")

const musics = await User.find({name: {$regex: regex}}).limit(20)
const musics = await User.find({name: {$regex: regex}}).limit(5)
res.status(200).json({
musics,
})
Expand Down

0 comments on commit c41640e

Please sign in to comment.