Skip to content

Commit aa59856

Browse files
authored
Update Signer init argument labels in README.md (#400)
1 parent 9a38f3c commit aa59856

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
@@ -186,7 +186,7 @@ The signer algorithm must match the header algorithm.
186186
``` swift
187187
let privateKey: SecKey = /* ... */
188188

189-
let signer = Signer(signingAlgorithm: .RS512, privateKey: privateKey)!
189+
let signer = Signer(signatureAlgorithm: .RS512, key: privateKey)!
190190
```
191191

192192
##### Serializing

0 commit comments

Comments
 (0)