From 2709a99bb31f165a3d9ae30b63c962f28ace7873 Mon Sep 17 00:00:00 2001 From: Aashish <83752052+120EE0692@users.noreply.github.com> Date: Sat, 5 Nov 2022 22:36:20 +0530 Subject: [PATCH] chore: change profile pic store path (#294) --- client/src/context/auth/AuthState.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/src/context/auth/AuthState.js b/client/src/context/auth/AuthState.js index 40c0f983..f4121389 100644 --- a/client/src/context/auth/AuthState.js +++ b/client/src/context/auth/AuthState.js @@ -75,7 +75,7 @@ const AuthState = ({ children }) => { const imageUpload = await imagekit .upload({ file: userPicture, - folder: '/profile', + folder: '/user', fileName: `${user.uid}.${ userPicture.type.toString().split('/')[1] }`,