Skip to content

Commit 8779b92

Browse files
committed
Fix private access query param.
1 parent 9f741e9 commit 8779b92

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/XIVAPI/Api/PrivateApi.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ public function manualItemUpdate(string $accessKey, int $itemId, string $server)
1414
{
1515
return Guzzle::get("/private/market/item/update", [
1616
RequestOptions::QUERY => [
17-
'companion_access_key' => $accessKey,
17+
'access' => $accessKey,
1818
'item_id' => $itemId,
1919
'server' => $server,
2020
]
@@ -28,7 +28,7 @@ public function itemPrices(string $accessKey, int $itemId, string $server)
2828
{
2929
return Guzzle::get("/private/market/item", [
3030
RequestOptions::QUERY => [
31-
'companion_access_key' => $accessKey,
31+
'access' => $accessKey,
3232
'item_id' => $itemId,
3333
'server' => $server,
3434
]
@@ -42,7 +42,7 @@ public function itemHistory(string $accessKey, int $itemId, string $server)
4242
{
4343
return Guzzle::get("/private/market/item/history", [
4444
RequestOptions::QUERY => [
45-
'companion_access_key' => $accessKey,
45+
'access' => $accessKey,
4646
'item_id' => $itemId,
4747
'server' => $server,
4848
]

0 commit comments

Comments
 (0)