Skip to content

Commit

Permalink
simplify
Browse files Browse the repository at this point in the history
  • Loading branch information
webjay committed Oct 18, 2023
1 parent 7372279 commit b6572cc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ReadMe.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,5 +49,5 @@ const { filterModel, sortModel, offset, limit } = handleQueryStringParameters(
queryStringParameters
)
handleFilterAndSort({ qb, filterModel, sortModel })
const results = await qb.take(limit).skip(offset).getManyAndCount()
const results = await qb.take(limit).skip(offset).getMany()
```

0 comments on commit b6572cc

Please sign in to comment.