Skip to content

Commit

Permalink
Fix-temp-create-item (#60)
Browse files Browse the repository at this point in the history
  • Loading branch information
agutierrezrodriguez authored Feb 16, 2021
1 parent 492bfa4 commit 1ced2e0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Management/ManagementClient.php
Original file line number Diff line number Diff line change
Expand Up @@ -494,7 +494,7 @@ public function getItem($hashid, $item_id, $name) {
*/
public function createTempItem($hashid, $name, $body) {
try {
return $this->ItemsClient->itemTempCreate($hashid, $name, $body);
return $this->ItemsClient->itemTempCreate($body, $hashid, $name);
} catch (ApiException $e) {
$statusCode = $e->getCode();
$contentResponse = $e->getResponseBody();
Expand Down

0 comments on commit 1ced2e0

Please sign in to comment.