diff --git a/packages/decap-cms-backend-git-gateway/src/implementation.ts b/packages/decap-cms-backend-git-gateway/src/implementation.ts index b529950af282..e2dd06ce7199 100644 --- a/packages/decap-cms-backend-git-gateway/src/implementation.ts +++ b/packages/decap-cms-backend-git-gateway/src/implementation.ts @@ -362,7 +362,7 @@ export default class GitGateway implements Implementation { if (!(await this.api!.hasWriteAccess())) { throw new Error("You don't have sufficient permissions to access Decap CMS"); } - return { name: userData.name, login: userData.email } as User; + return { name: userData.name, login: userData.email, avatar_url: userData.avatar_url } as User; }); } async restoreUser() {