@shushed/helpers 0.0.247-airtable-helper-views-20260130115845 → 0.0.247-airtable-helper-views-20260130120425
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -427,8 +427,7 @@ class AirtableHelper extends runtime_1.default {
|
|
|
427
427
|
for (const payload of res.payloads) {
|
|
428
428
|
const changes = this.viewId
|
|
429
429
|
? payload.changedViewsById?.[this.viewId]
|
|
430
|
-
: payload.changedTablesById?.[this.tableId]
|
|
431
|
-
|| Object.values(payload.changedTablesById || {})[0];
|
|
430
|
+
: payload.changedTablesById?.[this.tableId];
|
|
432
431
|
const airtableCreated = Object.entries(changes?.createdRecordsById || {}).map(([k, v]) => ({
|
|
433
432
|
id: k,
|
|
434
433
|
fields: AirtableHelper.translateFields(this.dictionary, { fields: v.cellValuesByFieldId || {} }).fields,
|