@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.
@@ -5813,7 +5813,8 @@ function resolveSyncInsertTask(isCadenzaDBReady, tableName, queryData = {}, opti
5813
5813
  ...ctx,
5814
5814
  queryData: {
5815
5815
  ...existingQueryData,
5816
- ...syncQueryData
5816
+ ...syncQueryData,
5817
+ data: ctx.data && typeof ctx.data === "object" ? { ...ctx.data } : ctx.data
5817
5818
  }
5818
5819
  } : ctx;
5819
5820
  return taskWithSyncQueryData[LOCAL_SYNC_ORIGINAL_TASK_FUNCTION](