Prefer this way I think
This commit is contained in:
parent
eb1d26c6f6
commit
4a74af2615
1 changed files with 1 additions and 1 deletions
|
@ -26,7 +26,7 @@ my $timer = IO::Async::Timer::Periodic->new(
|
|||
if ($data) {
|
||||
my ($from, $contents) = $data->@{qw/sender text/};
|
||||
$from =~ s/\+1//;
|
||||
return UQMI::send_sms($from, "Command not recognized. Try again you dumbass. ".$contents);
|
||||
UQMI::send_sms($from, "Command not recognized. Try again you dumbass. ".$contents)->get;
|
||||
}
|
||||
|
||||
return Future->done();
|
||||
|
|
Loading…
Add table
Reference in a new issue