Add missing id parameter in if else construct
This commit is contained in:
parent
5b6abeab75
commit
2658d1f3f3
1 changed files with 1 additions and 1 deletions
|
@ -7,7 +7,7 @@ const registry = 'registry.cliffbreak.de/';
|
|||
router.get('/:id/:image', async (req, res, next) => {
|
||||
if (req.params.image = ! null) {
|
||||
await pullImage(req.params.image);
|
||||
restartContainer().then(data => {
|
||||
restartContainer(req.params.id).then(data => {
|
||||
res.send(data);
|
||||
});
|
||||
|
||||
|
|
Loading…
Reference in a new issue