mirror of
https://github.com/appwrite/appwrite
synced 2026-05-23 08:58:35 +00:00
remove avatar_url field
This commit is contained in:
parent
bb501c4b73
commit
7819b19d1c
1 changed files with 1 additions and 2 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Reference in a new issue