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

Commit 67eb2e6

Browse files
authored
Merge pull request #69 from HackIllinois/staging
Fix Version 0.0.3
2 parents 53223b6 + a409afb commit 67eb2e6

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

api/v1/controllers/RegistrationController.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@ function fetchAttendeeByUser(req, res, next) {
167167
.findAttendeeByUser(req.user, true)
168168
.then(function(attendee){
169169
res.body = attendee.toJSON();
170-
delete res.body.data.reviewer;
170+
delete res.body.reviewer;
171171

172172
next();
173173
return null;
@@ -203,6 +203,7 @@ function updateAttendeeByUser(req, res, next) {
203203
})
204204
.then(function(attendee){
205205
res.body = attendee.toJSON();
206+
delete res.body.reviewer;
206207

207208
next();
208209
return null;

0 commit comments

Comments
 (0)