Skip to content

Commit 1888c94

Browse files
committed
ci: update PinterestProvider
1 parent 9bec394 commit 1888c94

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/Providers/PinterestProvider.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@ protected function getUserByToken($token)
4646
]
4747
);
4848
$contents = $response->getBody()->getContents();
49+
4950
return json_decode($contents, true);
5051
}
5152

@@ -56,6 +57,7 @@ protected function mapUserToObject(array $user)
5657
{
5758
preg_match('#https://www.pinterest.com/(.+?)/#', $user['data']['url'], $matches);
5859
$nickname = $matches[1];
60+
5961
return (new User())->setRaw($user)->map(
6062
[
6163
'id' => $user['data']['id'],

0 commit comments

Comments
 (0)