Skip to content

Commit

Permalink
Merge pull request #960 from mgp25/patch-25
Browse files Browse the repository at this point in the history
Temporary Fix to 'no_routes' error
  • Loading branch information
shirioko committed Sep 17, 2014
2 parents 4417afa + 2ddd0b8 commit 16a6349
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions src/whatsprot.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -305,16 +305,15 @@ public function codeRequest($method = 'sms', $countryCode = null, $langCode = nu
// Build the url.
$host = 'https://' . static::WHATSAPP_REQUEST_HOST;
$query = array(
'cc' => $phone['cc'],
'method' => $method,
'in' => $phone['phone'],
'to' => $this->phoneNumber,

This comment has been minimized.

Copy link
@PRASEJATI

PRASEJATI Dec 5, 2014

087875388876

'cc' => $phone['cc'],
'id' => $this->identity,
'lg' => $langCode,
'lc' => $countryCode,
'method' => $method,
'mcc' => $phone['mcc'],
'mnc' => '001',
'token' => urlencode($token),
'id' => $this->identity,
'sim_mcc' => '000', //$phone['mcc']
'sim_mnc' => '000', // 001
);

if ($this->debug) {
Expand Down

1 comment on commit 16a6349

@ahmdoooh
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

68d5b59824a6ebbd922333c974c725acWaUlti

Please sign in to comment.