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);