diff --git a/server/commons/Handler.coffee b/server/commons/Handler.coffee index 23909b6a2..e1e08a761 100644 --- a/server/commons/Handler.coffee +++ b/server/commons/Handler.coffee @@ -83,6 +83,7 @@ module.exports = class Handler @sendSuccess(res, documents) getById: (req, res, id) -> +# return @sendNotFoundError(res) # for testing return @sendUnauthorizedError(res) unless @hasAccess(req) @getDocumentForIdOrSlug id, (err, document) =>