Browse Source

fix: hmList api correction

Signed-off-by: Pranav C <pranavxc@gmail.com>
pull/5848/head
Pranav C 1 year ago
parent
commit
a03c4608f6
  1. 2
      packages/nocodb/src/services/data-alias-nested.service.ts

2
packages/nocodb/src/services/data-alias-nested.service.ts

@ -206,7 +206,7 @@ export class DataAliasNestedService {
const column = await getColumnByIdOrName(param.columnName, model);
if (column.uidt !== UITypes.LinkToAnotherRecord)
if (![UITypes.LinkToAnotherRecord, UITypes.Links].includes(column.uidt))
NcError.badRequest('Column is not LTAR');
const data = await baseModel.hmList(

Loading…
Cancel
Save