Skip to content

Commit

Permalink
Merge pull request #323 from Quickchive/fix/use-rs-256
Browse files Browse the repository at this point in the history
fix: make start line
  • Loading branch information
stae1102 authored May 6, 2024
2 parents ad1de42 + 3777184 commit b09c109
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;
const privateKey = process.env.APPLE_SECRET_KEY!.replace(/\\n/gm, '\n');

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

0 comments on commit b09c109

Please sign in to comment.