diff --git a/packages/nocodb/src/lib/meta/api/filterApis.ts b/packages/nocodb/src/lib/meta/api/filterApis.ts index 98b586663b..0f3393229f 100644 --- a/packages/nocodb/src/lib/meta/api/filterApis.ts +++ b/packages/nocodb/src/lib/meta/api/filterApis.ts @@ -17,7 +17,7 @@ import { metaApiMetrics } from '../helpers/apiMetrics'; // @ts-ignore export async function filterGet(req: Request, res: Response, next) { try { - const filter = await Filter.getFilterObject({ viewId: req.params.viewId }); + const filter = await Filter.get(req.params.filterId); res.json(filter); } catch (e) {