se agregó log de fecha fin

This commit is contained in:
evenegas
2025-10-03 12:57:56 -06:00
parent e4c2a16c8e
commit 0837bdd17b
+1 -1
View File
@@ -47,7 +47,7 @@ export class QrTokenService {
this.configService.get<string>('JWT_SECRET', 'tu_clave_secreta');
console.log("fecha de caducidad:",fecha_fin);
// Convert fecha_fin to seconds from now for expiresIn
const expiresInSeconds = Math.floor((fecha_fin.getTime() - Date.now()) / 1000);