From 04db463f812f70b7e32c6fedc130ae37d8b7de87 Mon Sep 17 00:00:00 2001 From: co98357 <210502954+co98357@users.noreply.github.com> Date: Fri, 23 May 2025 12:21:01 +0100 Subject: [PATCH] Formatting --- src/core/operations/JWTDecode.mjs | 17 +++++++---------- 1 file changed, 7 insertions(+), 10 deletions(-) diff --git a/src/core/operations/JWTDecode.mjs b/src/core/operations/JWTDecode.mjs index af574e78..67974a03 100644 --- a/src/core/operations/JWTDecode.mjs +++ b/src/core/operations/JWTDecode.mjs @@ -26,11 +26,11 @@ class JWTDecode extends Operation { this.inputType = "string"; this.outputType = "JSON"; this.args = [ - { - name: "Include header", - type: "boolean", - value: false - } + { + name: "Include header", + type: "boolean", + value: false + } ]; this.checks = [ { @@ -54,12 +54,9 @@ class JWTDecode extends Operation { json: true, complete: true }); - if (headerInclude) - { + if (headerInclude){ return {header: decoded.header, payload: decoded.payload}; - } - else - { + }else{ return decoded.payload; } } catch (err) {