Skip to content

Commit

Permalink
update name of parameter for Currency::getDetail
Browse files Browse the repository at this point in the history
  • Loading branch information
hhxsv5 committed Feb 21, 2019
1 parent 2d837de commit 751a06d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/PublicApi/Currency.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,15 +27,15 @@ public function getList()

/**
* Get the details of a currency
* @param string $currencyId
* @param string $currency
* @return array
* @throws \KuCoin\SDK\Exceptions\BusinessException
* @throws \KuCoin\SDK\Exceptions\HttpException
* @throws \KuCoin\SDK\Exceptions\InvalidApiUriException
*/
public function getDetail($currencyId)
public function getDetail($currency)
{
$response = $this->call(Request::METHOD_GET, '/api/v1/currencies/' . $currencyId);
$response = $this->call(Request::METHOD_GET, '/api/v1/currencies/' . $currency);
return $response->getApiData();
}
}

0 comments on commit 751a06d

Please sign in to comment.