diff --git a/src/qr/qr-token.service.ts b/src/qr/qr-token.service.ts index e884134..1d2fa6e 100644 --- a/src/qr/qr-token.service.ts +++ b/src/qr/qr-token.service.ts @@ -110,13 +110,14 @@ export class QrTokenService { return null; } - return { - id_participante: decoded.id_participante, - id_evento: decoded.id_evento, - id_cuestionario: decoded.id_cuestionario, - type: decoded.type, - iat: decoded.iat, - }; + return { + id_participante: decoded.id_participante, + id_evento: decoded.id_evento, + id_cuestionario: decoded.id_cuestionario, + type: decoded.type, + iat: decoded.iat, + exp: decoded.exp, + }; } catch (error) { console.error('Error validando token QR:', error.message); return null;