@clairejs/server 3.28.2 → 3.28.3

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/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  ## Change Log
2
2
 
3
- #### 3.28.2
3
+ #### 3.28.3
4
4
 
5
5
  - implement new job scheduler
6
6
 
@@ -73,7 +73,7 @@ let AwsJobScheduler = class AwsJobScheduler extends AbstractJobScheduler {
73
73
  async retryJob(job, at) {
74
74
  const { id, disabled, execCount, failCount, retryCount, lastError, lastRunAt, lastSuccessAt, ...payload } = job;
75
75
  const jobName = this.getJobUniqueName(id);
76
- if (at) {
76
+ if (job.at) {
77
77
  //-- update the job
78
78
  const getCommand = new GetScheduleCommand({
79
79
  Name: jobName,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@clairejs/server",
3
- "version": "3.28.2",
3
+ "version": "3.28.3",
4
4
  "description": "Claire server NodeJs framework written in Typescript.",
5
5
  "types": "dist/index.d.ts",
6
6
  "main": "dist/index.js",