diff --git a/client/src/pages/api-tokens.tsx b/client/src/pages/api-tokens.tsx index abdb231..e014de6 100644 --- a/client/src/pages/api-tokens.tsx +++ b/client/src/pages/api-tokens.tsx @@ -97,7 +97,7 @@ export default function ApiTokensPage() { // Fetch custom roles const { data: customRoles = [] } = useQuery({ - queryKey: ["/api/custom-roles"], + queryKey: ["/api/roles/custom"], }); // Form for adding a token