File tree Expand file tree Collapse file tree 1 file changed +1
-15
lines changed
functions/handle-participant-joined-left-background Expand file tree Collapse file tree 1 file changed +1
-15
lines changed Original file line number Diff line number Diff line change 11require ( 'dotenv' ) . config ( ) ;
22
3- const crypto = require ( 'crypto' ) ;
4-
5- const { updateMeetingStatus, updateMeetingAttendence } = require ( '../zoom-meeting-webhook-handler/slack.js' ) ;
3+ const { updateMeetingAttendence } = require ( '../zoom-meeting-webhook-handler/slack.js' ) ;
64
75const rooms = require ( '../../data/rooms.json' ) ;
86
9- const EVENT_MEETING_STARTED = 'meeting.started' ;
10- const EVENT_MEETING_ENDED = 'meeting.ended' ;
11- const EVENT_PARTICIPANT_JOINED = 'meeting.participant_joined' ;
12- const EVENT_PARTICIPANT_LEFT = 'meeting.participant_left' ;
13-
14- const ZOOM_SECRET =
15- process . env . TEST_ZOOM_WEBHOOK_SECRET_TOKEN ||
16- process . env . ZOOM_WEBHOOK_SECRET_TOKEN ;
17-
18- const ZOOM_AUTH =
19- process . env . TEST_ZOOM_WEBHOOK_AUTH || process . env . ZOOM_WEBHOOK_AUTH ;
20-
217const handler = async function ( event , context ) {
228 try {
239 const request = JSON . parse ( event . body ) ;
You can’t perform that action at this time.
0 commit comments