From 0c0b9ca648426bc8aaa91ad46b5902dd178e70ac Mon Sep 17 00:00:00 2001 From: Jon Date: Mon, 18 Nov 2024 12:27:07 +0100 Subject: [PATCH] fix: changed route.query --- src/filters/getParamWhere.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/filters/getParamWhere.js b/src/filters/getParamWhere.js index 22dd69af1..ef00a93ae 100644 --- a/src/filters/getParamWhere.js +++ b/src/filters/getParamWhere.js @@ -9,7 +9,7 @@ function parseJSON(str, fallback) { } export default function (route, param) { // catch route query params - const params = parseJSON(route?.query?.params, {}); + const params = parseJSON(route?.query?.table, {}); // extract and parse filter from params const { filter: filterStr = '{}' } = params;