We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9bec394 commit 1888c94Copy full SHA for 1888c94
src/Providers/PinterestProvider.php
@@ -46,6 +46,7 @@ protected function getUserByToken($token)
46
]
47
);
48
$contents = $response->getBody()->getContents();
49
+
50
return json_decode($contents, true);
51
}
52
@@ -56,6 +57,7 @@ protected function mapUserToObject(array $user)
56
57
{
58
preg_match('#https://www.pinterest.com/(.+?)/#', $user['data']['url'], $matches);
59
$nickname = $matches[1];
60
61
return (new User())->setRaw($user)->map(
62
[
63
'id' => $user['data']['id'],
0 commit comments