Skip to content

Commit 61e7e24

Browse files
authored
Merge pull request #69 from MMDF/patch-1
Fix typo in code example
2 parents 9c96a7d + 9e4fbe3 commit 61e7e24

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

readme.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -116,9 +116,9 @@ jws.createSign({
116116
});
117117

118118
// is equivilant to this:
119-
const signer = jws.createSign(
119+
const signer = jws.createSign({
120120
header: { alg: 'RS256' },
121-
);
121+
});
122122
privateKeyStream.pipe(signer.privateKey);
123123
payloadStream.pipe(signer.payload);
124124
signer.on('done', function(signature) {

0 commit comments

Comments
 (0)