Skip to content

Commit e145f31

Browse files
author
batrudinych
authored
correct readme
correct the description of an arbitrary algorithm usage
1 parent bf3cf44 commit e145f31

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)