diff --git a/frontend/src/hooks/useRoleTypes/index.tsx b/frontend/src/hooks/useRoleTypes/index.tsx index 2c8eec3d5019156c0debcbae4d7ee1af7d825fa0..a18671307489b2767ef28ba86cac8e42e3f1bca7 100644 --- a/frontend/src/hooks/useRoleTypes/index.tsx +++ b/frontend/src/hooks/useRoleTypes/index.tsx @@ -12,7 +12,7 @@ function useRoleTypes(): RoleTypeData[] { const [roleTypes, setRoleTypes] = useState<RoleTypeData[]>([]) async function fetchRoleTypes() { - fetch(`/api/ui/v1/roletypes`) + fetch(`/api/ui/v1/roletypes/`) .then((data) => data.text()) .then((result) => { // The response is a JSON-array