@punks/backend-entity-manager 0.0.289 → 0.0.290
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 -2
- package/dist/cjs/index.js.map +1 -1
- package/dist/esm/index.js +2 -2
- package/dist/esm/index.js.map +1 -1
- package/package.json +1 -1
package/dist/cjs/index.js
CHANGED
|
@@ -33979,11 +33979,11 @@ let JobDispatchHandler = JobDispatchHandler_1 = class JobDispatchHandler {
|
|
|
33979
33979
|
instanceId,
|
|
33980
33980
|
payload,
|
|
33981
33981
|
});
|
|
33982
|
-
|
|
33982
|
+
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
|
|
33986
|
+
return await this.instances.getById(instanceId);
|
|
33987
33987
|
}
|
|
33988
33988
|
catch (e) {
|
|
33989
33989
|
await this.instances.updateInstance(instanceId, {
|