Skip to content

Commit

Permalink
Merge pull request #398 from batrudinych/alg-doc-fix
Browse files Browse the repository at this point in the history
correct readme #399
  • Loading branch information
bifurcation committed Jan 20, 2023
2 parents a27dd90 + e145f31 commit e95481a
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 e95481a

Please sign in to comment.