Please just refactor this:

```js
if (err) {
    res.json(400, {error: true});
} else {
    res.json({success: true});
}
done();
```

Always leave the campsite cleaner than when you found it