I think this return is needed to prevent sending the i18n query results twice and crashing the server.

This commit is contained in:
Nick Winter 2014-10-27 22:54:50 -07:00
parent cea04d27ad
commit 68ac412f2b
2 changed files with 15 additions and 14 deletions
server/commons

View file

@ -121,6 +121,7 @@ module.exports = class Handler
return @sendDatabaseError(res, err) if err
documents = (@formatEntity(req, doc) for doc in documents)
@sendSuccess(res, documents)
return
specialParameters = ['term', 'project', 'conditions']