diff --git a/app/server/lib/DocApi.ts b/app/server/lib/DocApi.ts index e2440aa5..150ba910 100644 --- a/app/server/lib/DocApi.ts +++ b/app/server/lib/DocApi.ts @@ -272,7 +272,7 @@ export class DocWorkerApi { const fieldNames = new Set(_.flatMap(records, r => Object.keys(r.fields ?? {}))); const result: BulkColValues = {}; for (const fieldName of fieldNames) { - result[fieldName] = records.map(record => record.fields?.[fieldName] || null); + result[fieldName] = records.map(record => record.fields?.[fieldName] ?? null); } return result; }