From b97e9a93511786ccd4a0df90fb6bdfab31969eb1 Mon Sep 17 00:00:00 2001 From: william Date: Fri, 29 Jan 2016 17:35:08 -0500 Subject: [PATCH] formating --- routes/index.js | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/routes/index.js b/routes/index.js index 959ed88..44a372a 100644 --- a/routes/index.js +++ b/routes/index.js @@ -56,13 +56,13 @@ router.get('/clone/:template/:name', function(req, res, next){ }); router.get('/destroy/:name', function(req, res, next){ - lxc.destroy(req.params.name, function(data){ - if(data){ - res.json({status: 500, message: data}); - }else{ - res.json({status: 200}); - } - }); + lxc.destroy(req.params.name, function(data){ + if(data){ + res.json({status: 500, message: data}); + }else{ + res.json({status: 200}); + } + }); }); router.get('/info/:name', function(req, res, next){