Skip to content

Commit 16f7ddf

Browse files
author
Terry Zhao
committed
fix file id
1 parent 667c88b commit 16f7ddf

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

test-proj/ui/src/pages/HomePage.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,9 +48,10 @@ export default function HomePage() {
4848
<div className={styles.commandBar}>
4949
<WorkflowTrigger
5050
deployment={deployment}
51+
workflow="process-file"
5152
customWorkflowInput={(files) => {
5253
return {
53-
fileId: files[0].fileId,
54+
file_id: files[0].fileId,
5455
};
5556
}}
5657
/>

ui/src/pages/HomePage.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,9 +48,10 @@ export default function HomePage() {
4848
<div className={styles.commandBar}>
4949
<WorkflowTrigger
5050
deployment={deployment}
51+
workflow="process-file"
5152
customWorkflowInput={(files) => {
5253
return {
53-
fileId: files[0].fileId,
54+
file_id: files[0].fileId,
5455
};
5556
}}
5657
/>

0 commit comments

Comments
 (0)