1
0
Fork 0
mirror of synced 2024-08-23 05:51:29 +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 &&
subtype === BBReferenceFieldSubType.USER &&
constraints?.type !== "array"
if (isDeprecatedSingleUser && Array.isArray(row[key])) {
row[key] = row[key][0]
if (isDeprecatedSingleUser && Array.isArray(row.get(key))) {
row.set(key, row.get(key)[0])
}
}
await row.save()