Skip to content

Commit

Permalink
Change UserProfile.js query from user_id to id (#599)
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrewy-gh authored Aug 12, 2024
1 parent c4bea61 commit 3be86ca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/front/src/hooks/breadcrumbHooks.js
Original file line number Diff line number Diff line change
Expand Up @@ -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":
Expand Down

0 comments on commit 3be86ca

Please sign in to comment.