Browse Source

fix(nocodb): add missing data

pull/5678/head
Wing-Kam Wong 2 years ago
parent
commit
64427d0771
  1. 4
      packages/nocodb/src/db/BaseModelSqlv2.ts

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

@ -3298,7 +3298,7 @@ class BaseModelSqlv2 {
this._convertAttachmentType(attachmentColumns, d), this._convertAttachmentType(attachmentColumns, d),
); );
} else { } else {
this._convertAttachmentType(attachmentColumns, data); data = this._convertAttachmentType(attachmentColumns, data);
} }
} }
} }
@ -3374,7 +3374,7 @@ class BaseModelSqlv2 {
if (Array.isArray(data)) { if (Array.isArray(data)) {
data = data.map((d) => this._convertDateFormat(dateTimeColumns, d)); data = data.map((d) => this._convertDateFormat(dateTimeColumns, d));
} else { } else {
this._convertDateFormat(dateTimeColumns, data); data = this._convertDateFormat(dateTimeColumns, data);
} }
} }
} }

Loading…
Cancel
Save