Skip to content

Commit 272d1ef

Browse files
committed
adjust logging
1 parent 1eb652e commit 272d1ef

File tree

1 file changed

+4
-2
lines changed
  • functions/zoom-meeting-webhook-handler

1 file changed

+4
-2
lines changed

functions/zoom-meeting-webhook-handler/index.js

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,10 @@ const handler = async function (event, context) {
2727
const signature = `v0=${hashForVerify}`;
2828

2929
console.log('headers');
30-
console.log(headers);
31-
console.log(headers.get ? headers.get('x-zm-signature') : 'no headers.get');
30+
console.log(event.headers);
31+
console.log(
32+
event.headers.get ? event.headers.get('x-zm-signature') : 'no headers.get'
33+
);
3234

3335
console.log('message');
3436
console.log(message);

0 commit comments

Comments
 (0)