@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.
@@ -5762,7 +5762,8 @@ function resolveSyncInsertTask(isCadenzaDBReady, tableName, queryData = {}, opti
5762
5762
  ...ctx,
5763
5763
  queryData: {
5764
5764
  ...existingQueryData,
5765
- ...syncQueryData
5765
+ ...syncQueryData,
5766
+ data: ctx.data && typeof ctx.data === "object" ? { ...ctx.data } : ctx.data
5766
5767
  }
5767
5768
  } : ctx;
5768
5769
  return taskWithSyncQueryData[LOCAL_SYNC_ORIGINAL_TASK_FUNCTION](