Skip to content

Commit

Permalink
Merge pull request #53 from alissn/PassToken10And20
Browse files Browse the repository at this point in the history
pass token10 and token20 on call VerifyLookup method
  • Loading branch information
hosseinRezaei188 authored May 23, 2023
2 parents b56d8ee + 5e63a09 commit 07fbb8f
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions src/Channel/KavenegarChannel.php
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,10 @@ public function send($notifiable, $notification)

public function verifyLookup(KavenegarMessage $message)
{
$token2 = isset($message->tokens[1]) ? $message->tokens[1] : null;
$token3 = isset($message->tokens[2]) ? $message->tokens[2] : null;
return Kavenegar::VerifyLookup($message->to, $message->tokens[0], $token2, $token3, $message->method);
$token2 = isset($message->tokens[1]) ? $message->tokens[1] : null;
$token3 = isset($message->tokens[2]) ? $message->tokens[2] : null;
$token10 = isset($message->tokens[3]) ? $message->tokens[3] : null;
$token20 = isset($message->tokens[4]) ? $message->tokens[4] : null;
return Kavenegar::VerifyLookup($message->to, $message->tokens[0], $token2, $token3, $message->method, null, $token10, $token20);
}
}

0 comments on commit 07fbb8f

Please sign in to comment.