Skip to content

Commit

Permalink
Merge pull request #283 from rairprotocol/282-params-in-userlist-bein…
Browse files Browse the repository at this point in the history
…g-read-as-string

282 - params in userlist being read as string
  • Loading branch information
sarora180673 authored Nov 18, 2024
2 parents 4fafd77 + b175449 commit 4857c4c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rair-node/bin/api/users/users.Service.js
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ exports.listUsers = async (req, res, next) => {
$facet: {
list: [
{ $skip: pageNum * itemsPerPage },
{ $limit: itemsPerPage },
{ $limit: Number(itemsPerPage) },
],
count: [
{ $count: 'total' },
Expand Down

0 comments on commit 4857c4c

Please sign in to comment.