Skip to content

Commit 341f0ad

Browse files
committed
Remove unused imports in handle-participant-joined-left-background
1 parent db67ba4 commit 341f0ad

File tree

1 file changed

+1
-15
lines changed
  • functions/handle-participant-joined-left-background

1 file changed

+1
-15
lines changed

functions/handle-participant-joined-left-background/index.js

Lines changed: 1 addition & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,9 @@
11
require('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

75
const 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-
217
const handler = async function (event, context) {
228
try {
239
const request = JSON.parse(event.body);

0 commit comments

Comments
 (0)