Skip to content
This repository has been archived by the owner on Jun 21, 2019. It is now read-only.

Commit

Permalink
Merge pull request #69 from HackIllinois/staging
Browse files Browse the repository at this point in the history
Fix Version 0.0.3
  • Loading branch information
nmagerko authored Feb 1, 2017
2 parents 53223b6 + a409afb commit 67eb2e6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion api/v1/controllers/RegistrationController.js
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ function fetchAttendeeByUser(req, res, next) {
.findAttendeeByUser(req.user, true)
.then(function(attendee){
res.body = attendee.toJSON();
delete res.body.data.reviewer;
delete res.body.reviewer;

next();
return null;
Expand Down Expand Up @@ -203,6 +203,7 @@ function updateAttendeeByUser(req, res, next) {
})
.then(function(attendee){
res.body = attendee.toJSON();
delete res.body.reviewer;

next();
return null;
Expand Down

0 comments on commit 67eb2e6

Please sign in to comment.