fix(xo-server/jobs): bug fix when run job manually (#5426)

This commit is contained in:
Mathieu
2020-12-08 10:34:05 +01:00
committed by GitHub
parent f7fd0d9121
commit 2eaab408dd
2 changed files with 2 additions and 1 deletions

View File

@@ -17,6 +17,7 @@
> Users must be able to say: “I had this issue, happy to know it's fixed”
- [OVA/import] Fix OVA CLI import tool (PR [#5432](https://github.com/vatesfr/xen-orchestra/pull/5432))
- [Jobs] Fix `Cannot read property id of undefined` error when running a job without a schedule [#5425] https://github.com/vatesfr/xen-orchestra/issues/5425 (PR [#5426](https://github.com/vatesfr/xen-orchestra/pull/5426))
### Packages to release

View File

@@ -273,7 +273,7 @@ export default class Jobs {
method: 'backupNg.runJob',
params: {
id: job.id,
schedule: schedule.id,
schedule: schedule?.id,
settings: job.settings,
vms: job.vms,
},