Skip to content

Commit

Permalink
Merge pull request #170 from sliit-foss/feat/increase-filter-query-fi…
Browse files Browse the repository at this point in the history
…lter-support

Patch: rename filterl2
  • Loading branch information
Akalanka47000 authored Mar 25, 2024
2 parents 565da3c + 6347600 commit a440a58
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/mongoose-filter-query/src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { mapFilters } from "./utils";
const mongooseFilterQuery = (req, res, next) => {
try {
req.query.filter = mapFilters(req.query.filter) ?? {}
mapFilters(req.query.filterl2)
mapFilters(req.query.secondaryFilter)
if (req.query.sort) {
Object.keys(req.query.sort).forEach((key) => {
const dir = req.query.sort[key];
Expand Down

0 comments on commit a440a58

Please sign in to comment.