a
This commit is contained in:
parent
39c7e347dc
commit
a53ee1fd88
@ -182,15 +182,9 @@ console.log(params, req.user.level);
|
|||||||
}
|
}
|
||||||
|
|
||||||
inscription = await inscription.toJSON();
|
inscription = await inscription.toJSON();
|
||||||
|
var member = generateMemberInscription(inscription.user, inscription, inscription.reservation);
|
||||||
const qrConfig = {
|
member.qrConfig = generateQRConfig(member);
|
||||||
name: req.user.name,
|
inscription.code_ticket_qr = await QRHelper.getInscriptionQRCode(member.qrConfig);
|
||||||
surname: req.user.surname,
|
|
||||||
inscription: inscription.date,
|
|
||||||
code: inscription.code_ticket,
|
|
||||||
color: (inscription.level && inscription.level.color) ? inscription.level.color : null,
|
|
||||||
}
|
|
||||||
inscription.code_ticket_qr = await QRHelper.getInscriptionQRCode(qrConfig);
|
|
||||||
|
|
||||||
return handleResultResponse(inscription, null, params, res, httpStatus.OK);
|
return handleResultResponse(inscription, null, params, res, httpStatus.OK);
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user