diff --git a/src/index.ts b/src/index.ts index ae803bf2..4f20f2a4 100644 --- a/src/index.ts +++ b/src/index.ts @@ -3532,7 +3532,7 @@ function checkSupportedJwsAlg(alg: unknown) { if (!SUPPORTED_JWS_ALGS.includes(alg)) { throw new UnsupportedOperationError('unsupported JWS "alg" identifier') } - return alg + return alg } function checkRsaKeyAlgorithm(algorithm: RsaHashedKeyAlgorithm) {