added circle.yml file to specify node version

This commit is contained in:
Abhinav Adduri 2017-06-19 14:30:04 -07:00
parent 76af1c92e6
commit dcb5e2d813
2 changed files with 5 additions and 1 deletions

4
circle.yml Normal file
View File

@ -0,0 +1,4 @@
machine:
node:
version: 8.0.0

View File

@ -89,7 +89,7 @@ app.post('/delete/:id', (req, res) => {
const id = req.params.id;
if (!validateID(id)) {
res.send(404);
res.sendStatus(404);
return;
}