add picture on github signin/up
This commit is contained in:
@ -19,11 +19,12 @@ function setProfileFromGithub(
|
|||||||
username
|
username
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
location,
|
|
||||||
email: githubEmail,
|
|
||||||
id: githubId,
|
id: githubId,
|
||||||
|
'avatar_url': picture,
|
||||||
|
email: githubEmail,
|
||||||
'created_at': joinedGithubOn,
|
'created_at': joinedGithubOn,
|
||||||
blog: website,
|
blog: website,
|
||||||
|
location,
|
||||||
name
|
name
|
||||||
}
|
}
|
||||||
) {
|
) {
|
||||||
@ -36,6 +37,7 @@ function setProfileFromGithub(
|
|||||||
location,
|
location,
|
||||||
joinedGithubOn,
|
joinedGithubOn,
|
||||||
website,
|
website,
|
||||||
|
picture,
|
||||||
githubId,
|
githubId,
|
||||||
githubURL,
|
githubURL,
|
||||||
githubEmail,
|
githubEmail,
|
||||||
|
@ -52,11 +52,12 @@ function setProfileFromGithub(
|
|||||||
username
|
username
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
location,
|
|
||||||
email: githubEmail,
|
|
||||||
id: githubId,
|
id: githubId,
|
||||||
|
'avatar_url': picture,
|
||||||
|
email: githubEmail,
|
||||||
'created_at': joinedGithubOn,
|
'created_at': joinedGithubOn,
|
||||||
blog: website,
|
blog: website,
|
||||||
|
location,
|
||||||
name
|
name
|
||||||
}
|
}
|
||||||
) {
|
) {
|
||||||
@ -69,6 +70,7 @@ function setProfileFromGithub(
|
|||||||
location,
|
location,
|
||||||
joinedGithubOn,
|
joinedGithubOn,
|
||||||
website,
|
website,
|
||||||
|
picture,
|
||||||
githubId,
|
githubId,
|
||||||
githubURL,
|
githubURL,
|
||||||
githubEmail,
|
githubEmail,
|
||||||
|
Reference in New Issue
Block a user