diff --git a/src/constants/AppConstants.js b/src/constants/AppConstants.js index 4d0c9351..ef3b4d4c 100644 --- a/src/constants/AppConstants.js +++ b/src/constants/AppConstants.js @@ -1,7 +1,7 @@ const BASE_IMAGE_URL = 'https://raw.githubusercontent.com/Real-Dev-Squad/website-static/main/members'; const BASE_API_URL = process.env.NEXT_PUBLIC_BASE_API_URL; -const USER_DATA_URL = `${BASE_API_URL}/users/self`; +const USER_DATA_URL = `${BASE_API_URL}/users?profile=true`; const PATHS = { HOME: 'https://www.realdevsquad.com', WELCOME: 'https://welcome.realdevsquad.com/', diff --git a/src/helper-functions/urls.js b/src/helper-functions/urls.js index 507d8d04..ef248c8b 100644 --- a/src/helper-functions/urls.js +++ b/src/helper-functions/urls.js @@ -2,7 +2,7 @@ const baseURL = `${process.env.NEXT_PUBLIC_BASE_API_URL}`; const imgBaseURL = `https://raw.githubusercontent.com/Real-Dev-Squad/website-static/main`; const getMembersURL = `${baseURL}/members`; const cloudinaryImageUrl = `https://res.cloudinary.com/realdevsquad/image/upload`; -const getUserProfileSelf = `${baseURL}/users/self`; +const getUserProfileSelf = `${baseURL}/users?profile=true`; /** *