Skip to content

Commit

Permalink
fix deletion
Browse files Browse the repository at this point in the history
  • Loading branch information
vbarda committed Jul 26, 2024
1 parent 3c0895a commit dbf192b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/src/hooks/useConfigList.ts
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ export function useConfigList(): ConfigListProps {

const deleteConfig = useCallback(
async (assistantId: string): Promise<void> => {
await fetch(`/assistants/${assistantId}`, {
await fetch(`/api/assistants/${assistantId}`, {
method: "DELETE",
headers: {
Accept: "application/json",
Expand Down

0 comments on commit dbf192b

Please sign in to comment.