Update Wallets.php

This commit is contained in:
envoyr authored and GitHub committed 2023-08-09 13:12:22 +02:00
1 parent 1b8aef1f6f
commit 2ac7a361fb
1 file changed
+2 -2
+2 -2
View File
@@ -12,7 +12,7 @@ trait Wallets
*/
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
{
return $this->query('PUT', 'wallets/default', [], null, [
return $this->query('PUT', 'wallet/default', [], null, [
'token' => $token
]);
}