Skip to content

Commit 9b218ca

Browse files
authored
chore: delete by projectid instead (#746)
2 parents 00ca41c + 9edd0c2 commit 9b218ca

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/components/ChatBox/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -480,7 +480,7 @@ export default function ChatBox(): JSX.Element {
480480

481481
// Delete task from backend first
482482
try {
483-
await fetchDelete(`/chat/${taskId}`);
483+
await fetchDelete(`/chat/${projectId}`);
484484
} catch (error) {
485485
console.error("Failed to delete task from backend:", error);
486486
// Continue with local cleanup even if backend fails

0 commit comments

Comments
 (0)