Skip to content

Commit

Permalink
Update index.js
Browse files Browse the repository at this point in the history
  • Loading branch information
sasaunde authored Jan 17, 2024
1 parent b32524d commit 596165d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ server.listen(process.env.port || process.env.PORT || 3978, function() {
});

// Listen for incoming requests.
server.post('/api/messages', (req, res) => {
server.post('/api/messages', async (req, res) => {
adapter.processActivity(req, res, async (turnContext) => {
// Route the message to the bot's main handler.
await bot.run(turnContext);
Expand Down

0 comments on commit 596165d

Please sign in to comment.