From 2f67dc865f9f10b5683af0c540fac57d219e429f Mon Sep 17 00:00:00 2001 From: alphaeusmote <41258468-alphaeusmote@users.noreply.replit.com> Date: Fri, 11 Apr 2025 17:07:30 +0000 Subject: [PATCH] Fix custom role display and add flexible token expiration Replit-Commit-Author: Agent Replit-Commit-Session-Id: 9111ef36-26c8-4085-84ca-a35dc1fec1b5 Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/7083d608-d6d3-4a6a-9a27-6286c5109627/4ea704b7-3f63-453d-b502-c43743f2bbc6.jpg --- client/src/pages/api-tokens.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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