Skip to content

Commit

Permalink
Merge branch 'develop'
Browse files Browse the repository at this point in the history
  • Loading branch information
Arnaud-Lyard committed Aug 12, 2024
2 parents 7d30b83 + 705805a commit 23fdfae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/src/utils/jwt.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import jwt, { SignOptions } from 'jsonwebtoken';

export const signJwt = (payload: Object, options: SignOptions) => {
const privateKey = process.env.JWT_ACCESS_TOKEN_PRIVATE_KEY;

console.log(privateKey);
return jwt.sign(payload, privateKey, {
...(options && options),
algorithm: 'RS256',
Expand Down

0 comments on commit 23fdfae

Please sign in to comment.