mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2025-05-03 17:33:31 -04:00
I think this return is needed to prevent sending the i18n query results twice and crashing the server.
This commit is contained in:
parent
cea04d27ad
commit
68ac412f2b
2 changed files with 15 additions and 14 deletions
server/commons
|
@ -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']
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue