Skip to content

Commit 0b5dc03

Browse files
committed
Update Tanda.php constructor
1 parent f734fae commit 0b5dc03

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/Tanda.php

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,10 +26,9 @@ public function __construct()
2626
if($this->env == 'sandbox'){
2727
$this->oauth = 'https://io-proxy-443.tanda.co.ke/sandbox/accounts/v1/oauth/token';
2828
$this->endpoint = "https://io-proxy-443.tanda.co.ke/sandbox/io/v1/organizations/".$this->org_id."/requests";
29-
}else{
30-
$this->oauth = 'https://io-proxy-443.tanda.co.ke/accounts/v1/oauth/token';
31-
$this->endpoint = "https://io-proxy-443.tanda.co.ke/io/v1/organizations/".$this->org_id."/requests";
3229
}
30+
$this->oauth = 'https://io-proxy-443.tanda.co.ke/accounts/v1/oauth/token';
31+
$this->endpoint = "https://io-proxy-443.tanda.co.ke/io/v1/organizations/".$this->org_id."/requests";
3332
$this->scope = "iowallets.transaction.read iowallets.transaction.readWrite";
3433
$this->client = $this->client_id.":".$this->client_secret;
3534
$this->b64Val = base64_encode($this->client);

0 commit comments

Comments
 (0)