Skip to content

Commit

Permalink
Update Wallets.php
Browse files Browse the repository at this point in the history
  • Loading branch information
envoyr authored Aug 9, 2023
1 parent 1b8aef1 commit 2ac7a36
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Payments/Traits/Wallets.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ trait Wallets
*/
public function getWallets(): Result
{
return $this->query('GET', 'wallets');
return $this->query('GET', 'wallet');
}

/**
Expand All @@ -22,7 +22,7 @@ public function getWallets(): Result
*/
public function setDefaultWallet(string $token): Result
{
return $this->query('PUT', 'wallets/default', [], null, [
return $this->query('PUT', 'wallet/default', [], null, [
'token' => $token
]);
}
Expand Down

0 comments on commit 2ac7a36

Please sign in to comment.