- bulkUpsert now accepts preserveExistingOnNull column list, using COALESCE(EXCLUDED.col, table.col) so null incoming values never overwrite existing non-null DB values - bulkUpsertRecords passes resource ID columns as preserve-on-null for TICKETS and TASKS entities - getValidResourceIds now throws on DB error instead of returning empty set (which would nullify every resource reference) - Fix mimecast mailbox-remediate fetch handlers to check res.ok and content-type before calling res.json(), preventing JSON parse crash on 502 Bad Gateway responses |
||
|---|---|---|
| .. | ||
| api-helpers.ts | ||
| db-helpers.ts | ||
| device-lookup.ts | ||
| entity-mapper.ts | ||
| issue-type-helper.ts | ||
| logger.ts | ||
| openclaw-auth.ts | ||
| sync-helpers.ts | ||
| sync-logger.ts | ||