se agregó log de fecha fin
This commit is contained in:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user