From 7819b19d1cf6d8c954722ad5d448fa5c7cd841f6 Mon Sep 17 00:00:00 2001 From: Bishwajeet Parhi Date: Sun, 12 Jun 2022 06:41:41 +0000 Subject: [PATCH] remove avatar_url field --- src/Appwrite/Auth/OAuth2/Dailymotion.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/Appwrite/Auth/OAuth2/Dailymotion.php b/src/Appwrite/Auth/OAuth2/Dailymotion.php index 0bf395a20b..0b6e7c1479 100644 --- a/src/Appwrite/Auth/OAuth2/Dailymotion.php +++ b/src/Appwrite/Auth/OAuth2/Dailymotion.php @@ -31,7 +31,6 @@ class Dailymotion extends OAuth2 * @var array */ protected array $fields = [ - 'avatar_url', 'email', 'first_name', 'id', @@ -215,7 +214,7 @@ class Dailymotion extends OAuth2 $this->endpoint . '/user/me?', ['Authorization: Bearer ' . \urlencode($accessToken)], \http_build_query([ - 'fields' => \implode(',', $this->getFields()) + 'fields' => \implode(' ', $this->getFields()) ]) ); $this->user = \json_decode($user, true);