Skip to content

Commit

Permalink
Fix private access query param.
Browse files Browse the repository at this point in the history
  • Loading branch information
vekien committed Apr 17, 2019
1 parent 9f741e9 commit 8779b92
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/XIVAPI/Api/PrivateApi.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ public function manualItemUpdate(string $accessKey, int $itemId, string $server)
{
return Guzzle::get("/private/market/item/update", [
RequestOptions::QUERY => [
'companion_access_key' => $accessKey,
'access' => $accessKey,
'item_id' => $itemId,
'server' => $server,
]
Expand All @@ -28,7 +28,7 @@ public function itemPrices(string $accessKey, int $itemId, string $server)
{
return Guzzle::get("/private/market/item", [
RequestOptions::QUERY => [
'companion_access_key' => $accessKey,
'access' => $accessKey,
'item_id' => $itemId,
'server' => $server,
]
Expand All @@ -42,7 +42,7 @@ public function itemHistory(string $accessKey, int $itemId, string $server)
{
return Guzzle::get("/private/market/item/history", [
RequestOptions::QUERY => [
'companion_access_key' => $accessKey,
'access' => $accessKey,
'item_id' => $itemId,
'server' => $server,
]
Expand Down

0 comments on commit 8779b92

Please sign in to comment.