Browse Source

fix: validate params in count method as well

pull/6941/head
Pranav C 1 year ago
parent
commit
038ee2e191
  1. 2
      packages/nocodb/src/services/datas.service.ts

2
packages/nocodb/src/services/datas.service.ts

@ -163,7 +163,7 @@ export class DatasService {
} catch (e) {}
const [count, data] = await Promise.all([
baseModel.count(listArgs),
baseModel.count(listArgs, false, param.throwErrorIfInvalidParams),
(async () => {
let data = [];
try {

Loading…
Cancel
Save