Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
jianmingtu committed Apr 15, 2021
1 parent ef1ed40 commit 389677f
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion server/mongoDatabase.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,14 @@ module.exports = async function() {

try
{

return req;

const { limit = 100, skip = 0} = req
const search = req.query?.search;
const aggregateOptions = []

return req;


if (search) {
aggregateOptions.push({
Expand Down

0 comments on commit 389677f

Please sign in to comment.