diff --git a/packages/nocodb/src/lib/meta/helpers/PagedResponse.ts b/packages/nocodb/src/lib/meta/helpers/PagedResponse.ts index 95be85e517..ca8ced949c 100644 --- a/packages/nocodb/src/lib/meta/helpers/PagedResponse.ts +++ b/packages/nocodb/src/lib/meta/helpers/PagedResponse.ts @@ -18,7 +18,7 @@ export class PagedResponseImpl { config.limitMin ); const offset = Math.max(+(args.offset || args.o) || 0, 0); - const count = args.count || null; + const count = args.count ?? null; this.list = list; if (count !== null) { this.pageInfo = { totalRows: +count };