a
This commit is contained in:
parent
ecfab53407
commit
66509e2b2c
@ -180,12 +180,12 @@ console.log(params, req.user.level);
|
||||
} else if (inscription.userId !== userId) {
|
||||
return handleResultResponse("Inscripción no encontrada", null, params, res, httpStatus.NOT_FOUND);
|
||||
}
|
||||
|
||||
console.log('inscripcion encontrada>>>>>>>>>>>>>>>>>>>>>>>>>>>', inscription);
|
||||
inscription = await inscription.toJSON();
|
||||
var member = generateMemberInscription(inscription.user, inscription, inscription.reservation);
|
||||
member.qrConfig = generateQRConfig(member);
|
||||
inscription.code_ticket_qr = await QRHelper.getInscriptionQRCode(member.qrConfig);
|
||||
|
||||
console.log('>>>>>>>voy a dar inscription');
|
||||
return handleResultResponse(inscription, null, params, res, httpStatus.OK);
|
||||
|
||||
} catch (error) {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user