Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The git-gateway backend doesn't seem to pass the avatar_url field to the user object. A simple fix seems possible.
avatar_url
The avatar_url is received here: https://github.com/decaporg/decap-cms/blob/main/packages/decap-cms-backend-git-gateway/src/implementation.ts#L333
But then the returned object gets rid of it for no reason: https://github.com/decaporg/decap-cms/blob/main/packages/decap-cms-backend-git-gateway/src/implementation.ts#L365
Describe the solution you'd like It looks like simply adding avatar_url: userData.avatar_url in that object would fix the issue.
avatar_url: userData.avatar_url
Possibly, I think the type here would also need it an update to add the avatar_url field: https://github.com/decaporg/decap-cms/blob/main/packages/decap-cms-lib-util/src/implementation.ts#L89
Thanks!
The text was updated successfully, but these errors were encountered:
Made this PR: #7247
The git-gateway backend doesn't seem to pass the
avatar_url
field to the user object. A simple fix seems possible.The avatar_url is received here: https://github.com/decaporg/decap-cms/blob/main/packages/decap-cms-backend-git-gateway/src/implementation.ts#L333
But then the returned object gets rid of it for no reason:
https://github.com/decaporg/decap-cms/blob/main/packages/decap-cms-backend-git-gateway/src/implementation.ts#L365
Describe the solution you'd like
It looks like simply adding
avatar_url: userData.avatar_url
in that object would fix the issue.Possibly, I think the type here would also need it an update to add the
avatar_url
field: https://github.com/decaporg/decap-cms/blob/main/packages/decap-cms-lib-util/src/implementation.ts#L89Thanks!
The text was updated successfully, but these errors were encountered: