I think the done should be below:
```javascript
if (err) {
    res.json(...)
} else {
    res.json(...)
}
done();
```