spelling: signer

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
This commit is contained in:
Josh Soref 2020-12-19 22:02:00 -05:00
parent 22de6da60b
commit 43b95a2d28

View File

@ -194,7 +194,7 @@ func signPayload(key *jose.JSONWebKey, alg jose.SignatureAlgorithm, payload []by
signer, err := jose.NewSigner(signingKey, &jose.SignerOptions{}) signer, err := jose.NewSigner(signingKey, &jose.SignerOptions{})
if err != nil { if err != nil {
return "", fmt.Errorf("new signier: %v", err) return "", fmt.Errorf("new signer: %v", err)
} }
signature, err := signer.Sign(payload) signature, err := signer.Sign(payload)
if err != nil { if err != nil {