fix(api): handle 4XX errors get-public-profile (#55205)

Co-authored-by: Mrugesh Mohapatra <1884376+raisedadead@users.noreply.github.com>
This commit is contained in:
Shaun Hamilton
2024-06-20 07:54:52 +02:00
committed by GitHub
parent a7e3e69da6
commit f1cd0cfae3
3 changed files with 122 additions and 116 deletions

View File

@@ -43,7 +43,6 @@ function bootUser(app) {
const deleteMsUsername = createDeleteMsUsername(app);
const postSubmitSurvey = createPostSubmitSurvey(app);
const deleteUserSurveys = createDeleteUserSurveys(app);
api.get('/account', sendNonUserToHome, deprecatedEndpoint);
api.get('/account/unlink/:social', sendNonUserToHome, getUnlinkSocial);
api.get('/user/get-session-user', getSessionUser);
@@ -532,4 +531,5 @@ function createPostReportUserProfile(app) {
);
};
}
export default bootUser;