mirror of
https://github.com/stack-auth/stack.git
synced 2026-07-20 21:29:36 +08:00
fix(agent-auth): correct dashboard Agents fetch path
The dashboard Agents table passed a full '/api/latest/agent-auth/agents' path to sendRequest, which prepends the '/api/v1' base, producing a doubled '/api/v1/api/latest/...' URL that 404'd. Use the relative '/agent-auth/agents' path like other sendRequest callers. Co-Authored-By: madison@stack-auth.com <madison.w.kennedy@gmail.com>
This commit is contained in:
parent
2f58d3ecd2
commit
627c3aa43f
@ -71,7 +71,7 @@ export default function PageClient() {
|
||||
setError(null);
|
||||
try {
|
||||
const response = await adminApp[hexclaveAppInternalsSymbol].sendRequest(
|
||||
"/api/latest/agent-auth/agents",
|
||||
"/agent-auth/agents",
|
||||
{},
|
||||
"admin",
|
||||
);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user