diff --git a/routes/restart.js b/routes/restart.js index dec4331..5f85ad6 100644 --- a/routes/restart.js +++ b/routes/restart.js @@ -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); });