se agregó expiración

This commit is contained in:
evenegas
2025-10-03 14:08:17 -06:00
parent 258a03e7b4
commit 4615306784
+8 -7
View File
@@ -110,13 +110,14 @@ export class QrTokenService {
return null; return null;
} }
return { return {
id_participante: decoded.id_participante, id_participante: decoded.id_participante,
id_evento: decoded.id_evento, id_evento: decoded.id_evento,
id_cuestionario: decoded.id_cuestionario, id_cuestionario: decoded.id_cuestionario,
type: decoded.type, type: decoded.type,
iat: decoded.iat, iat: decoded.iat,
}; exp: decoded.exp,
};
} catch (error) { } catch (error) {
console.error('Error validando token QR:', error.message); console.error('Error validando token QR:', error.message);
return null; return null;