Merge pull request #586 from netlify/git-gateway-avatar

Show user avatar for git-gateway backend.
This commit is contained in:
Shawn Erquhart 2017-09-09 11:53:43 -07:00 committed by GitHub
commit 3468ea7012

View File

@ -62,6 +62,7 @@ export default class GitGateway extends GitHubBackend {
const userData = {
name: user.user_metadata.name || user.email.split('@').shift(),
email: user.email,
avatar_url: user.user_metadata.avatar_url,
metadata: user.user_metadata,
};
this.api = new API({