Browse Source

fix get filter by id API

pull/4706/head
Vijay Rathore 2 years ago committed by GitHub
parent
commit
1212fcd94c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      packages/nocodb/src/lib/meta/api/filterApis.ts

2
packages/nocodb/src/lib/meta/api/filterApis.ts

@ -17,7 +17,7 @@ import { metaApiMetrics } from '../helpers/apiMetrics';
// @ts-ignore // @ts-ignore
export async function filterGet(req: Request, res: Response, next) { export async function filterGet(req: Request, res: Response, next) {
try { try {
const filter = await Filter.getFilterObject({ viewId: req.params.viewId }); const filter = await Filter.get(req.params.filterId);
res.json(filter); res.json(filter);
} catch (e) { } catch (e) {

Loading…
Cancel
Save