Skip to content

Commit

Permalink
fix: update agent file download url to match backend route (#1689)
Browse files Browse the repository at this point in the history
Signed-off-by: Ryan Hopper-Lowe <ryan@acorn.io>
  • Loading branch information
ryanhopperlowe authored Feb 7, 2025
1 parent 958346b commit a8880f2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ui/admin/app/lib/routers/apiRoutes.ts
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ export const ApiRoutes = {
getWorkspaceFiles: (agentId: string) =>
buildUrl(`/agents/${agentId}/files`),
getWorkspaceFile: (agentId: string, fileName: string) =>
buildUrl(`/agents/${agentId}/files/${fileName}`),
buildUrl(`/agents/${agentId}/file/${fileName}`),
removeWorkspaceFile: (agentId: string, fileName: string) =>
buildUrl(`/agents/${agentId}/files/${fileName}`),
uploadWorkspaceFile: (agentId: string, fileName: string) =>
Expand Down

0 comments on commit a8880f2

Please sign in to comment.