Skip to content

Commit

Permalink
fix(backend-auth): fix environment variable typo
Browse files Browse the repository at this point in the history
  • Loading branch information
chownces committed Sep 7, 2023
1 parent 75917af commit 017bca6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backend/apps/auth/src/auth.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ export class AuthService {
private verifyRefreshToken(refreshToken: string): JwtPayload {
try {
return this.jwtService.verify(refreshToken, {
secret: this.tokenConfig.accessTokenSecret,
secret: this.tokenConfig.refreshTokenSecret,
});
} catch (e) {
throw new HttpException('Invalid refresh token', 401);
Expand Down

0 comments on commit 017bca6

Please sign in to comment.