Skip to content

Commit

Permalink
correct readme
Browse files Browse the repository at this point in the history
correct the description of an arbitrary algorithm usage
  • Loading branch information
batrudinych authored Oct 31, 2022
1 parent bf3cf44 commit e145f31
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -360,7 +360,7 @@ jose.JWS.createSign({ format: 'compact' }, key).

To create a JWS using a specific algorithm:
```javascript
jose.JWS.createSign({ alg: 'PS256' }, key).
jose.JWS.createSign({ fields: { alg: 'PS256' } }, key).
update(input).
final().
then(function(result) {
Expand Down

0 comments on commit e145f31

Please sign in to comment.