Skip to content

Commit

Permalink
Merge branch 'main' of github.com:leMaur/laravel-pinterest-api
Browse files Browse the repository at this point in the history
  • Loading branch information
leMaur committed Mar 26, 2023
2 parents c165109 + 17763fe commit 0395dc4
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@

All notable changes to `laravel-pinterest-api` will be documented in this file.

## 0.3.2 - 2023-03-26

**Full Changelog**: https://github.com/leMaur/laravel-pinterest-api/compare/0.3.0...0.3.2

## 0.3.1 - 2023-03-26

**Full Changelog**: https://github.com/leMaur/laravel-pinterest-api/compare/0.3.0...0.3.1
Expand Down
4 changes: 2 additions & 2 deletions src/Services/Resources/OAuthResource.php
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ public function getAccessCodeLink(): string
public function requestAccessToken(): array
{
if (! $this->oauth->access_code) {
throw new OAuthException("Unable to find Pinterest access code.");
throw new OAuthException('Unable to find Pinterest access code.');
}

$response = $this->service
Expand Down Expand Up @@ -100,7 +100,7 @@ public function requestAccessToken(): array
public function refreshAccessToken(): array
{
if (! $this->oauth->refresh_token) {
throw new OAuthException("Unable to find Pinterest refresh token.");
throw new OAuthException('Unable to find Pinterest refresh token.');
}

$response = $this->service
Expand Down

0 comments on commit 0395dc4

Please sign in to comment.