@punks/backend-entity-manager 0.0.281 → 0.0.282

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/cjs/index.js CHANGED
@@ -33909,7 +33909,7 @@ let JobDispatchHandler = JobDispatchHandler_1 = class JobDispatchHandler {
33909
33909
  await this.instances.appendInstance(job, {
33910
33910
  id: instanceId,
33911
33911
  runType,
33912
- scheduleUid: schedule.uid,
33912
+ scheduleUid: schedule?.uid,
33913
33913
  insertTime: new Date(),
33914
33914
  });
33915
33915
  await this.executor.dispatch({
@@ -40086,7 +40086,7 @@ let AwsJobsProvider = class AwsJobsProvider {
40086
40086
  }
40087
40087
  async dispatch(input) {
40088
40088
  const { definition, schedule, instanceId } = input;
40089
- const awsInvocationParams = schedule.invocationOverrides;
40089
+ const awsInvocationParams = schedule?.invocationOverrides;
40090
40090
  await this.awsBatchService.submitJob({
40091
40091
  instanceId,
40092
40092
  jobUid: definition.uid,