Skip to content

Commit

Permalink
Update packages/credentials/src/jwt.ts
Browse files Browse the repository at this point in the history
Co-authored-by: Frank Hinek <[email protected]>
  • Loading branch information
nitro-neal and frankhinek authored Feb 13, 2024
1 parent 655395d commit d91fe6d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/credentials/src/jwt.ts
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ export class Jwt {
const toSign = `${base64UrlEncodedHeader}.${base64UrlEncodedPayload}`;
const toSignBytes = Convert.string(toSign).toUint8Array();

const signatureBytes = await signer.sign({data: toSignBytes});
const signatureBytes = await signer.sign({ data: toSignBytes });

const base64UrlEncodedSignature = Convert.uint8Array(signatureBytes).toBase64Url();

Expand Down

0 comments on commit d91fe6d

Please sign in to comment.