Skip to content

Commit e95481a

Browse files
authored
Merge pull request #398 from batrudinych/alg-doc-fix
correct readme #399
2 parents a27dd90 + e145f31 commit e95481a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -360,7 +360,7 @@ jose.JWS.createSign({ format: 'compact' }, key).
360360

361361
To create a JWS using a specific algorithm:
362362
```javascript
363-
jose.JWS.createSign({ alg: 'PS256' }, key).
363+
jose.JWS.createSign({ fields: { alg: 'PS256' } }, key).
364364
update(input).
365365
final().
366366
then(function(result) {

0 commit comments

Comments
 (0)