Update profile now uses "avatarUrl" to correctly update avatar_url (#21555)

I noticed in the function to updateProfile the "avatar_url" was not using the passed in "avatarUrl" value.

Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>
This commit is contained in:
Sheldon FourieandCharis authored and GitHub committed 2024-02-28 01:17:09 +00:00
1 parent 4faae31070
commit 3912e1ab46
1 file changed
+1 -1
@@ -176,7 +176,7 @@ export default function Account({ session }) {
id: user.id,
username,
website,
avatar_url,
avatar_url: avatarUrl,
updated_at: new Date(),
}