Skip to content
This repository has been archived by the owner on Feb 18, 2022. It is now read-only.

Commit

Permalink
Update helper
Browse files Browse the repository at this point in the history
  • Loading branch information
midnite81 committed Sep 25, 2017
1 parent 018a07c commit 2acc09d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/Helpers/helpers.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ function plivo_send_text($to, $message, $from = null) {
$messaging->setMessage($message);
if ($from != null) {
$messaging->from($from);
} else {
$messaging->from(config('plivo.source-number'));
}
return $messaging->send();
}
Expand Down

0 comments on commit 2acc09d

Please sign in to comment.