fix: ts compilation errors in auth

This commit is contained in:
Hamza-Ayed
2026-07-16 16:05:28 +03:00
parent 83f2d0854a
commit 4f11580d4a
7 changed files with 68 additions and 2 deletions
+1 -1
View File
@@ -69,7 +69,7 @@ export class AuthService {
access_token: this.jwtService.sign(base),
refresh_token: this.jwtService.sign(
{ ...base, type: 'refresh' },
{ expiresIn: this.config.get<string>('jwt.refreshExpires') ?? '30d' },
{ expiresIn: (this.config.get<string>('jwt.refreshExpires') ?? '30d') as any },
),
user,
};