Skip to content

Commit

Permalink
Corrigindo bug
Browse files Browse the repository at this point in the history
  • Loading branch information
jaovitu committed Aug 23, 2022
1 parent ed82644 commit a7affe0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ app.post('/message', (request, response) => {
return response.send(twiml.toString());
}

const twiml = twilio.twiml.MessagingResponse();
const twiml = new twilio.twiml.MessagingResponse();
twiml.message(`*${userChoice}* ganha de *${botChoice}*`);
twiml.message('Você ganhou :(... Quero revanche!');

Expand Down

0 comments on commit a7affe0

Please sign in to comment.