Skip to content
This repository has been archived by the owner on May 12, 2023. It is now read-only.

Commit

Permalink
Merge pull request #15 from pfiller/patch-1
Browse files Browse the repository at this point in the history
nice find!
  • Loading branch information
cmcdonaldca committed Jun 1, 2016
2 parents aea75e5 + 28029c5 commit 4a48df0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion shopify.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ public function __construct($shop_domain, $token, $api_key, $secret) {

// Get the URL required to request authorization
public function getAuthorizeUrl($scope, $redirect_url='') {
$url = "http://{$this->shop_domain}/admin/oauth/authorize?client_id={$this->api_key}&scope=" . urlencode($scope);
$url = "https://{$this->shop_domain}/admin/oauth/authorize?client_id={$this->api_key}&scope=" . urlencode($scope);
if ($redirect_url != '')
{
$url .= "&redirect_uri=" . urlencode($redirect_url);
Expand Down

0 comments on commit 4a48df0

Please sign in to comment.