refactor(core): simplify integration credentials (#31968)
This commit is contained in:
@@ -61,7 +61,7 @@ export function createFetch(override?: FetchHandler) {
|
||||
if (url.pathname === "/path") return json({ home: "", state: "", config: "", worktree, directory })
|
||||
if (url.pathname === "/api/location") return json({ directory, project: { id: "proj_test", directory: worktree } })
|
||||
if (
|
||||
["/api/agent", "/api/model", "/api/provider", "/api/connector", "/api/command", "/api/skill"].includes(
|
||||
["/api/agent", "/api/model", "/api/provider", "/api/integration", "/api/command", "/api/skill"].includes(
|
||||
url.pathname,
|
||||
)
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user