Skip to content

Commit 3979dbd

Browse files
Cheticclaude
andcommitted
fix: update /curl handler to use scriptPath from API response
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
1 parent 71354e9 commit 3979dbd

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

packages/app/src/pages/session.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -665,10 +665,10 @@ export default function Page() {
665665
const sessionID = params.id
666666
if (!sessionID) return
667667
const response = await sdk.client.session.dumpRequest({ sessionID })
668-
if (response.data?.success && response.data.filePath) {
668+
if (response.data?.success && response.data.scriptPath) {
669669
showToast({
670670
title: "Request saved",
671-
description: `Curl command saved to ${response.data.filePath}`,
671+
description: `Curl command saved to ${response.data.scriptPath}`,
672672
})
673673
} else {
674674
showToast({

0 commit comments

Comments
 (0)