Skip to content

Commit

Permalink
Merge pull request #324 from Quickchive/fix/use-rs-256
Browse files Browse the repository at this point in the history
fix: delete replace
  • Loading branch information
stae1102 authored May 6, 2024
2 parents b09c109 + 4583d79 commit 09df58e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/auth/util/oauth.util.ts
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ export class OAuthUtil {
sub: process.env.APPLE_CLIENT_ID,
};

const privateKey = process.env.APPLE_SECRET_KEY!.replace(/\\n/gm, '\n');
const privateKey = process.env.APPLE_SECRET_KEY;

return this.jwtService.sign(claims, {
keyid: process.env.APPLE_KEY_ID,
Expand Down

0 comments on commit 09df58e

Please sign in to comment.