Browse Source

fix: missing nullcheck for is_multi

Signed-off-by: mertmit <mertmit99@gmail.com>
pull/7202/head
mertmit 1 year ago
parent
commit
f426910dfe
  1. 2
      packages/nocodb/src/db/BaseModelSqlv2.ts

2
packages/nocodb/src/db/BaseModelSqlv2.ts

@ -5543,7 +5543,7 @@ class BaseModelSqlv2 {
); );
} }
if (column.meta.is_multi) { if (column.meta?.is_multi) {
data[column.column_name] = userIds.join(','); data[column.column_name] = userIds.join(',');
} else { } else {
if (userIds.length > 1) { if (userIds.length > 1) {

Loading…
Cancel
Save