fix(xo-server/rest-api): /backup/log/<id>

Introduced by 037e1c1df

Fixes https://xcp-ng.org/forum/post/69426
This commit is contained in:
Julien Fontanet 2024-01-11 11:04:02 +01:00
parent beba6f7e8d
commit b0c37df8d7
2 changed files with 2 additions and 1 deletions

View File

@ -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)
- [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)
- [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

View File

@ -361,7 +361,7 @@ export default class RestApi {
})
)
.get(
['/backups/logs/:id', '/restore/logs/:id'],
['/backup/logs/:id', '/restore/logs/:id'],
wrap(async (req, res) => {
res.json(await app.getBackupNgLogs(req.params.id))
})