diff --git a/.gitignore b/.gitignore index 3c63929..d34b440 100644 --- a/.gitignore +++ b/.gitignore @@ -12,4 +12,4 @@ prisma/client *.tfstate.* .terraform/ .terraform.lock.* -courageous-chinchilla credentials.txt \ No newline at end of file +brave-chipmunk credentials.txt \ No newline at end of file diff --git a/src/app/user/routes.js b/src/app/user/routes.js index 7f60841..d31532c 100644 --- a/src/app/user/routes.js +++ b/src/app/user/routes.js @@ -12,7 +12,7 @@ router.post('/login', loginUserController) router.get('/', authorize([Role.Admin, Role.Member]), getUserInfoController) router.get('/all', getAllMembersController) router.get('/:username', getMemberProfileController) -router.put('/profile', authorize([Role.Admin, Role.Member]), updatedProfileController) +router.put('/profileUpdate', authorize([Role.Admin, Role.Member]), updatedProfileController) router.put('/profile-pic', authorize([Role.Admin, Role.Member]), upload.single('avatar'), uploadProfilePicController) export default router