diff --git a/routes/restart.js b/routes/restart.js index ebd0394..dec4331 100644 --- a/routes/restart.js +++ b/routes/restart.js @@ -4,7 +4,7 @@ var docker = require('../bin/dockerode'); const registry = 'registry.cliffbreak.de/'; -router.get('/:id/:image', (req, res, next) => { +router.get('/:id/:image', async (req, res, next) => { if (req.params.image = ! null) { await pullImage(req.params.image); restartContainer().then(data => {