mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2024-11-23 23:58:02 -05:00
Remove erroneous 256 from user handler
This commit is contained in:
parent
74763f0614
commit
d814ea9e22
1 changed files with 1 additions and 1 deletions
|
@ -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) ->
|
||||||
|
|
Loading…
Reference in a new issue