Browse Source

fix(nocodb): use +count

pull/5903/head
Wing-Kam Wong 1 year ago
parent
commit
8d6072769d
  1. 2
      packages/nocodb/src/helpers/PagedResponse.ts

2
packages/nocodb/src/helpers/PagedResponse.ts

@ -31,7 +31,7 @@ export class PagedResponseImpl<T> {
(Math.ceil(this.pageInfo.totalRows / this.pageInfo.pageSize) || 1);
}
if (offset && offset >= count) {
if (offset && offset >= +count) {
this.errors = [
{
message: 'Offset is beyond the total number of rows',

Loading…
Cancel
Save