Skip to content

Commit 76ee05b

Browse files
committed
Merge branch 'master' into python-mqtt-quickstart-fix
2 parents 1ec7d1a + 6b9aad6 commit 76ee05b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

fax/basic-receive/basic-receive.3.x.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ app.post('/fax/sent', (req, res) => {
2626
// We will have a URL to the contents of the fax at this point
2727
app.post('/fax/received', (req, res) => {
2828
// log the URL of the PDF received in the fax
29-
console.log(res.body.MediaUrl);
29+
console.log(req.body.MediaUrl);
3030

3131
// Respond with empty 200/OK to Twilio
3232
res.status(200);

fax/basic-receive/basic-receive.5.x.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ public function __construct()
1414
public function sent()
1515
{
1616
$twimlResponse = new SimpleXMLElement("<Response></Response>");
17-
$recieveEl = $twimlResponse->addChild('Receive');
17+
$receiveEl = $twimlResponse->addChild('Receive');
1818
$receiveEl->addAttribute('action', '/fax/received');
1919

2020
$this->output->set_output($twimlResponse->asXML());

0 commit comments

Comments
 (0)