You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/lib/jws/jwsValidator.js
+4-4Lines changed: 4 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -42,7 +42,7 @@ class JwsValidator {
42
42
const{ headers, body, data }=request;
43
43
constpayload=body||data;
44
44
45
-
this.logger.isDebugEnabled()&&this.logger.debug(`Validating JWS on request with headers: ${safeStringify(headers)} and body: ${safeStringify(payload)}`);
45
+
this.logger.isDebugEnabled&&this.logger.debug(`Validating JWS on request with headers: ${safeStringify(headers)} and body: ${safeStringify(payload)}`);
46
46
47
47
if(!payload){
48
48
thrownewError('Cannot validate JWS without a body');
0 commit comments