diff --git a/client/src/Pages/Profile/Profile.jsx b/client/src/Pages/Profile/Profile.jsx index c40152b..5386a95 100644 --- a/client/src/Pages/Profile/Profile.jsx +++ b/client/src/Pages/Profile/Profile.jsx @@ -164,7 +164,7 @@ const Profile = () => { }, { headers: { 'Content-Type': 'multipart/form-data', - 'Authorization': `Bearer ${localStorage.getItem('token')}`, + 'Authorization': `Bearer ${localStorage.getItem('codaeztoken')}`, } }); diff --git a/client/src/components/Register/CompleteProfile.jsx b/client/src/components/Register/CompleteProfile.jsx index 99cd6bc..d83ea94 100644 --- a/client/src/components/Register/CompleteProfile.jsx +++ b/client/src/components/Register/CompleteProfile.jsx @@ -162,7 +162,7 @@ const CompleteProfile = () => { }, { headers: { 'Content-Type': 'multipart/form-data', - 'Authorization': `Bearer ${localStorage.getItem('token')}`, + 'Authorization': `Bearer ${localStorage.getItem('codaeztoken')}`, } });