Skip to content

Commit

Permalink
correcao de return no recebimento do postback
Browse files Browse the repository at this point in the history
  • Loading branch information
vipeol committed Jul 2, 2017
1 parent 971b860 commit c0cd20b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/SenderRequest.php
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ public function getPostback()
return null;
}
if (is_array($this->event['postback']) and !empty($this->event['postback']['payload'])) {
$this->event['postback']['payload'];
return $this->event['postback']['payload'];
}
return $this->event['postback'];
}
Expand Down

0 comments on commit c0cd20b

Please sign in to comment.