Browse Source

fix: pass fields argument properly

Signed-off-by: Pranav C <pranavxc@gmail.com>
pull/5735/head
Pranav C 1 year ago
parent
commit
88b648f5cf
  1. 4
      packages/nocodb/tests/unit/rest/tests/tableRow.test.ts
  2. 2
      packages/nocodb/tests/unit/rest/tests/viewRow.test.ts

4
packages/nocodb/tests/unit/rest/tests/tableRow.test.ts

@ -1103,7 +1103,9 @@ function tableTest() {
);
const nestedFields = {
'Rental List': ['RentalDate', 'ReturnDate'],
'Rental List': {
f: 'RentalDate,ReturnDate',
},
};
const nestedFilter = [

2
packages/nocodb/tests/unit/rest/tests/viewRow.test.ts

@ -901,7 +901,7 @@ function viewRowTests() {
);
const nestedFields = {
'Rental List': ['RentalDate', 'ReturnDate'],
'Rental List': { f: 'RentalDate,ReturnDate' },
};
const nestedFilter = [

Loading…
Cancel
Save