Update Wallets.php

This commit is contained in:
2023-08-09 13:12:22 +02:00
committed by GitHub
parent 1b8aef1f6f
commit 2ac7a361fb

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
]);
}