1
0
Fork 0
mirror of synced 2024-09-12 23:43:09 +12:00
This commit is contained in:
Adria Navarro 2024-05-13 15:22:55 +02:00
parent 004e13a349
commit 63160a394b

View file

@ -613,8 +613,8 @@ class GoogleSheetsIntegration implements DatasourcePlus {
type === FieldType.BB_REFERENCE && type === FieldType.BB_REFERENCE &&
subtype === BBReferenceFieldSubType.USER && subtype === BBReferenceFieldSubType.USER &&
constraints?.type !== "array" constraints?.type !== "array"
if (isDeprecatedSingleUser && Array.isArray(row[key])) { if (isDeprecatedSingleUser && Array.isArray(row.get(key))) {
row[key] = row[key][0] row.set(key, row.get(key)[0])
} }
} }
await row.save() await row.save()