fix: ts compilation errors in auth
This commit is contained in:
@@ -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,
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user