se agregó expiración
This commit is contained in:
@@ -268,10 +268,7 @@ export class ParticipanteEventoService {
|
||||
const tokenData = this.qrTokenService.validateQrToken(qrToken);
|
||||
|
||||
if (!tokenData) {
|
||||
throw new HttpException(
|
||||
'Token QR inválido o expirado',
|
||||
HttpStatus.BAD_REQUEST,
|
||||
);
|
||||
return null;
|
||||
}
|
||||
|
||||
return tokenData
|
||||
|
||||
Reference in New Issue
Block a user