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 1
1
require ( 'dotenv' ) . config ( ) ;
2
2
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' ) ;
6
4
7
5
const rooms = require ( '../../data/rooms.json' ) ;
8
6
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
-
21
7
const handler = async function ( event , context ) {
22
8
try {
23
9
const request = JSON . parse ( event . body ) ;
You can’t perform that action at this time.
0 commit comments