Skip to content
This repository has been archived by the owner on Apr 19, 2023. It is now read-only.

Commit

Permalink
🐛 Fix Gravatar fallback user initials image
Browse files Browse the repository at this point in the history
  • Loading branch information
AnandChowdhary committed May 12, 2019
1 parent 8c2c942 commit 00d5a2a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/crud/user.ts
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ export const updateUser = async (id: number, user: KeyValue) => {
user.profilePicture = `https://www.gravatar.com/avatar/${md5(
emailDetails.email
)}?d=${encodeURIComponent(
`https://ui-avatars.com/api/?bold=true&name=${user.name}`
`https://ui-avatars.com/api/?bold=true&name=${originalUser.name}`
)}`;
}
}
Expand Down

0 comments on commit 00d5a2a

Please sign in to comment.