Skip to content

Commit 0395dc4

Browse files
committed
Merge branch 'main' of github.com:leMaur/laravel-pinterest-api
2 parents c165109 + 17763fe commit 0395dc4

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

CHANGELOG.md

+4
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@
22

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

5+
## 0.3.2 - 2023-03-26
6+
7+
**Full Changelog**: https://github.com/leMaur/laravel-pinterest-api/compare/0.3.0...0.3.2
8+
59
## 0.3.1 - 2023-03-26
610

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

src/Services/Resources/OAuthResource.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ public function getAccessCodeLink(): string
7272
public function requestAccessToken(): array
7373
{
7474
if (! $this->oauth->access_code) {
75-
throw new OAuthException("Unable to find Pinterest access code.");
75+
throw new OAuthException('Unable to find Pinterest access code.');
7676
}
7777

7878
$response = $this->service
@@ -100,7 +100,7 @@ public function requestAccessToken(): array
100100
public function refreshAccessToken(): array
101101
{
102102
if (! $this->oauth->refresh_token) {
103-
throw new OAuthException("Unable to find Pinterest refresh token.");
103+
throw new OAuthException('Unable to find Pinterest refresh token.');
104104
}
105105

106106
$response = $this->service

0 commit comments

Comments
 (0)