@cadenza.io/service 2.17.21 → 2.17.22

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.
package/dist/index.mjs CHANGED
@@ -8201,7 +8201,8 @@ function resolveSyncInsertTask(isCadenzaDBReady, tableName, queryData = {}, opti
8201
8201
  ...ctx,
8202
8202
  queryData: {
8203
8203
  ...existingQueryData,
8204
- ...syncQueryData
8204
+ ...syncQueryData,
8205
+ data: ctx.data && typeof ctx.data === "object" ? { ...ctx.data } : ctx.data
8205
8206
  }
8206
8207
  } : ctx;
8207
8208
  return taskWithSyncQueryData[LOCAL_SYNC_ORIGINAL_TASK_FUNCTION](