Skip to content

Commit

Permalink
Update server.js (#2903)
Browse files Browse the repository at this point in the history
  • Loading branch information
hensmi-amazon authored Jun 7, 2024
1 parent a0af834 commit 290c6cb
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions demos/browser/server.js
Original file line number Diff line number Diff line change
Expand Up @@ -308,11 +308,6 @@ function serve(host = '127.0.0.1:8080') {
console.warn("Cloud media capture not available")
respond(response, 500, 'application/json', JSON.stringify({}))
}
} else if (request.method === 'POST' && requestUrl.pathname === '/end') {
await chimeSDKMeetings.deleteMeeting({
MeetingId: meetingTable[requestUrl.query.title].Meeting.MeetingId,
});
respond(response, 200, 'application/json', JSON.stringify({}));
} else if (request.method === 'POST' && requestUrl.pathname === '/start_transcription') {
const languageCode = requestUrl.query.language;
const region = requestUrl.query.region;
Expand Down

0 comments on commit 290c6cb

Please sign in to comment.