Skip to content

Commit

Permalink
Remove unused imports in handle-participant-joined-left-background
Browse files Browse the repository at this point in the history
  • Loading branch information
ebanner committed May 1, 2024
1 parent 458d29a commit 9bc6788
Showing 1 changed file with 1 addition and 15 deletions.
16 changes: 1 addition & 15 deletions functions/handle-participant-joined-left-background/index.js
Original file line number Diff line number Diff line change
@@ -1,23 +1,9 @@
require('dotenv').config();

const crypto = require('crypto');

const { updateMeetingStatus, updateMeetingAttendence } = require('../zoom-meeting-webhook-handler/slack.js');
const { updateMeetingAttendence } = require('../zoom-meeting-webhook-handler/slack.js');

const rooms = require('../../data/rooms.json');

const EVENT_MEETING_STARTED = 'meeting.started';
const EVENT_MEETING_ENDED = 'meeting.ended';
const EVENT_PARTICIPANT_JOINED = 'meeting.participant_joined';
const EVENT_PARTICIPANT_LEFT = 'meeting.participant_left';

const ZOOM_SECRET =
process.env.TEST_ZOOM_WEBHOOK_SECRET_TOKEN ||
process.env.ZOOM_WEBHOOK_SECRET_TOKEN;

const ZOOM_AUTH =
process.env.TEST_ZOOM_WEBHOOK_AUTH || process.env.ZOOM_WEBHOOK_AUTH;

const handler = async function (event, context) {
try {
const request = JSON.parse(event.body);
Expand Down

0 comments on commit 9bc6788

Please sign in to comment.