Remove erroneous 256 from user handler

This commit is contained in:
Nick Winter 2015-10-14 06:02:00 -07:00
parent 74763f0614
commit d814ea9e22

View file

@ -173,7 +173,7 @@ UserHandler = class UserHandler extends Handler
getById: (req, res, id) -> getById: (req, res, id) ->
if Handler.isID(id) and req.user?._id.equals(id) if Handler.isID(id) and req.user?._id.equals(id)
return @sendSuccess(res, @formatEntity(req, req.user, 256)) return @sendSuccess(res, @formatEntity(req, req.user))
super(req, res, id) super(req, res, id)
getByIDs: (req, res) -> getByIDs: (req, res) ->