From 3be86cac735bcc1df75644bfddef937671c3dd1f Mon Sep 17 00:00:00 2001 From: Andrew Date: Mon, 12 Aug 2024 18:21:25 -0400 Subject: [PATCH] Change UserProfile.js query from user_id to id (#599) --- frontend/front/src/hooks/breadcrumbHooks.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/front/src/hooks/breadcrumbHooks.js b/frontend/front/src/hooks/breadcrumbHooks.js index 0651d1fd..d019f2be 100644 --- a/frontend/front/src/hooks/breadcrumbHooks.js +++ b/frontend/front/src/hooks/breadcrumbHooks.js @@ -30,7 +30,7 @@ export const useGoToBreadcrumb = () => { }`; break; case "user": - url = `/admin/user/userProfile/${data?.user_id}`; + url = `/admin/user/userProfile/${data?.id}`; description = `${data?.firstname} ${data?.lastname}`; break; case "surveyVisit":