Skip to content

Commit 0617778

Browse files
Fix filesharing chat composite
1 parent b336ff9 commit 0617778

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ui-library-filesharing-chat-composite/app/src/AtachmentUploadOptions.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ const fileSelectionHandler: AttachmentSelectionHandler = async (
3030
continue;
3131
}
3232

33-
const uniqueFileName = `${task}-${v4()}-${task.file?.name}`;
33+
const uniqueFileName = `${task.taskId}-${v4()}-${task.file?.name}`;
3434
const formData = new FormData();
3535
formData.append("file", task.file, task.file?.name);
3636

0 commit comments

Comments
 (0)