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

Commit

Permalink
Return attendee id in fetchAttendeeForHost
Browse files Browse the repository at this point in the history
  • Loading branch information
ASankaran committed Feb 23, 2018
1 parent 25fa0dc commit 26bc684
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions api/v1/controllers/RegistrationController.js
Original file line number Diff line number Diff line change
Expand Up @@ -322,6 +322,7 @@ function fetchAttendeeForHost(req, res, next) {
.then((user) => services.RegistrationService.findAttendeeByUser(user, false))
.then((attendee) => {
res.body = {};
res.body.id = attendee.get('id');
res.body.firstName = attendee.get('firstName');
res.body.lastName = attendee.get('lastName');
res.body.shirtSize = attendee.get('shirtSize');
Expand Down

0 comments on commit 26bc684

Please sign in to comment.