Skip to content

Commit 768f287

Browse files
committed
Add comment
1 parent 89a75e2 commit 768f287

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

tools/hmac/calculateHmacPlatform.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,9 @@ console.log('********');
4444
console.log(`Payload file: ${payloadFile}`);
4545
console.log(`Payload length: ${payload.length} characters`);
4646
/*
47-
// uncomment if needed
47+
// uncomment if needed to log number of new lines and number of spaces: this can be useful to confirm the payload sent by Adyen
48+
// is the same as the one you receive/parse
49+
4850
const newlineCount = (payload.match(/\n/g) || []).length;
4951
const spaceCount = (payload.match(/ /g) || []).length;
5052

0 commit comments

Comments
 (0)