@punks/backend-entity-manager 0.0.284 → 0.0.285
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 +2 -1
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/types/platforms/nest/extensions/jobs/services/jobs-service/service.d.ts +2 -2
- package/dist/esm/index.js +2 -1
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/types/platforms/nest/extensions/jobs/services/jobs-service/service.d.ts +2 -2
- package/dist/index.d.ts +1 -1
- package/package.json +1 -1
package/dist/cjs/index.js
CHANGED
|
@@ -33979,10 +33979,11 @@ let JobDispatchHandler = JobDispatchHandler_1 = class JobDispatchHandler {
|
|
|
33979
33979
|
instanceId,
|
|
33980
33980
|
payload,
|
|
33981
33981
|
});
|
|
33982
|
-
await this.instances.updateInstance(instanceId, {
|
|
33982
|
+
const instance = await this.instances.updateInstance(instanceId, {
|
|
33983
33983
|
status: exports.JobStatus.Ready,
|
|
33984
33984
|
});
|
|
33985
33985
|
this.logger.info(`JOB DISPATCH -> dispatching completed job ${job.uid} -> ${instanceId}`);
|
|
33986
|
+
return instance;
|
|
33986
33987
|
}
|
|
33987
33988
|
catch (e) {
|
|
33988
33989
|
await this.instances.updateInstance(instanceId, {
|