mirror of
https://github.com/bitinflow/accounts.git
synced 2026-10-31 20:59:06 +00:00
Update Wallets.php
This commit is contained in:
1 parent
1b8aef1f6f
commit
2ac7a361fb
1 file changed
+2
-2
@@ -12,7 +12,7 @@ trait Wallets
|
|||||||
*/
|
*/
|
||||||
public function getWallets(): Result
|
public function getWallets(): Result
|
||||||
{
|
{
|
||||||
return $this->query('GET', 'wallets');
|
return $this->query('GET', 'wallet');
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@@ -22,7 +22,7 @@ trait Wallets
|
|||||||
*/
|
*/
|
||||||
public function setDefaultWallet(string $token): Result
|
public function setDefaultWallet(string $token): Result
|
||||||
{
|
{
|
||||||
return $this->query('PUT', 'wallets/default', [], null, [
|
return $this->query('PUT', 'wallet/default', [], null, [
|
||||||
'token' => $token
|
'token' => $token
|
||||||
]);
|
]);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user