From 5ec0024284d15df527376ced59b9e7b393f6f88b Mon Sep 17 00:00:00 2001 From: Dries Vints Date: Fri, 15 Mar 2019 13:36:59 +0100 Subject: [PATCH] Use proper key name This key name was incorrectly changed in https://github.com/laravel/socialite/pull/346 --- src/Two/GoogleProvider.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Two/GoogleProvider.php b/src/Two/GoogleProvider.php index 412887ae..17c17380 100644 --- a/src/Two/GoogleProvider.php +++ b/src/Two/GoogleProvider.php @@ -87,7 +87,7 @@ protected function mapUserToObject(array $user) 'name' => Arr::get($user, 'name'), 'email' => Arr::get($user, 'email'), 'avatar' => $avatarUrl = Arr::get($user, 'picture'), - 'original_avatar' => $avatarUrl, + 'avatar_original' => $avatarUrl, ]); } }