Skip to content

Commit

Permalink
Merge pull request #31 from nonda/f/#29-upgrade-shopify-api
Browse files Browse the repository at this point in the history
[future: #29]: 修复参数顺序错误
  • Loading branch information
Rivsen-Private authored Mar 6, 2020
2 parents b1ab4b7 + 3d2383a commit 56594fc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Shopify/ShopifyClient.php
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ protected function baseUriBuilder($endpoint)
$this->apiKey,
$this->accessToken,
$this->shopName,
ltrim('/', $endpoint));
ltrim($endpoint, '/'));
}

protected function uriBuilder($resource)
Expand Down Expand Up @@ -155,4 +155,4 @@ public function __call($method, $args)
return $result;
}

}
}

0 comments on commit 56594fc

Please sign in to comment.