Skip to content

Commit

Permalink
Patch: rename filterl2
Browse files Browse the repository at this point in the history
  • Loading branch information
Akalanka47000 authored Mar 25, 2024
1 parent 1656a89 commit 6347600
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 6347600

Please sign in to comment.