Skip to content

Commit

Permalink
Merge pull request #72 from IsraelOrtuno/dev-remove-api-proxy
Browse files Browse the repository at this point in the history
Change api-proxy.pipedrive.com to api.pipedrive.com
  • Loading branch information
IsraelOrtuno authored Aug 28, 2019
2 parents df6eeae + dba51c2 commit d72d361
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/Builder.php
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ public static function OAuth()
{
$instance = new self();

$instance->base = 'https://api-proxy.pipedrive.com/{endpoint}';
$instance->base = 'https://api.pipedrive.com/{endpoint}';
$instance->isOauth = true;

return $instance;
Expand Down
2 changes: 1 addition & 1 deletion src/Pipedrive.php
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ public static function OAuth($config)
{
$guzzleVersion = isset($config['guzzleVersion']) ? $config['guzzleVersion'] : 6;

$new = new self('oauth', 'https://api-proxy.pipedrive.com/', $guzzleVersion);
$new = new self('oauth', 'https://api.pipedrive.com/', $guzzleVersion);

$new->isOauth = true;

Expand Down

0 comments on commit d72d361

Please sign in to comment.