Merge pull request #586 from netlify/git-gateway-avatar
Show user avatar for git-gateway backend.
This commit is contained in:
commit
3468ea7012
@ -62,6 +62,7 @@ export default class GitGateway extends GitHubBackend {
|
|||||||
const userData = {
|
const userData = {
|
||||||
name: user.user_metadata.name || user.email.split('@').shift(),
|
name: user.user_metadata.name || user.email.split('@').shift(),
|
||||||
email: user.email,
|
email: user.email,
|
||||||
|
avatar_url: user.user_metadata.avatar_url,
|
||||||
metadata: user.user_metadata,
|
metadata: user.user_metadata,
|
||||||
};
|
};
|
||||||
this.api = new API({
|
this.api = new API({
|
||||||
|
Loading…
x
Reference in New Issue
Block a user