mirror of
https://github.com/gchq/CyberChef.git
synced 2025-05-09 07:45:00 -04:00
Fixed compilation warnings
This commit is contained in:
parent
da77362b14
commit
44af3fee38
1 changed files with 1 additions and 1 deletions
|
@ -48,7 +48,7 @@ class JWTVerify extends Operation {
|
|||
*/
|
||||
run(input, args) {
|
||||
const [key, alg] = args;
|
||||
let algos = (alg == "Any" ? JWT_ALGORITHMS : alg);
|
||||
const algos = (alg === "Any" ? JWT_ALGORITHMS : alg);
|
||||
try {
|
||||
const verified = jwt.verify(input, key, { algorithms: algos });
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue