fix(xo-server/rest-api): /backup/log/<id>
Introduced by 037e1c1df
Fixes https://xcp-ng.org/forum/post/69426
This commit is contained in:
@@ -23,6 +23,7 @@
|
|||||||
- Avoid unnecessary `pool.add_to_other_config: Duplicate key` error in XAPI log [Forum#68761](https://xcp-ng.org/forum/post/68761)
|
- Avoid unnecessary `pool.add_to_other_config: Duplicate key` error in XAPI log [Forum#68761](https://xcp-ng.org/forum/post/68761)
|
||||||
- [Jobs] Reset parameters when editing method to avoid invalid parameters on execution [Forum#69299](https://xcp-ng.org/forum/post/69299)
|
- [Jobs] Reset parameters when editing method to avoid invalid parameters on execution [Forum#69299](https://xcp-ng.org/forum/post/69299)
|
||||||
- [Metadata Backup] Fix `ENOENT` error when restoring an _XO Config_ backup [Forum#68999](https://xcp-ng.org/forum/post/68999)
|
- [Metadata Backup] Fix `ENOENT` error when restoring an _XO Config_ backup [Forum#68999](https://xcp-ng.org/forum/post/68999)
|
||||||
|
- [REST API] Fix `/backup/log/<id>` which was broken by the `/backups` to `/backup` renaming [Forum#69426](https://xcp-ng.org/forum/post/69426)
|
||||||
|
|
||||||
### Packages to release
|
### Packages to release
|
||||||
|
|
||||||
|
|||||||
@@ -361,7 +361,7 @@ export default class RestApi {
|
|||||||
})
|
})
|
||||||
)
|
)
|
||||||
.get(
|
.get(
|
||||||
['/backups/logs/:id', '/restore/logs/:id'],
|
['/backup/logs/:id', '/restore/logs/:id'],
|
||||||
wrap(async (req, res) => {
|
wrap(async (req, res) => {
|
||||||
res.json(await app.getBackupNgLogs(req.params.id))
|
res.json(await app.getBackupNgLogs(req.params.id))
|
||||||
})
|
})
|
||||||
|
|||||||
Reference in New Issue
Block a user