Skip to content

Commit

Permalink
fix: incorrect transferMethod assignment for remote file
Browse files Browse the repository at this point in the history
  • Loading branch information
le0zh committed Feb 6, 2025
1 parent e09f6e4 commit 7423a48
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion web/app/components/base/file-uploader/hooks.ts
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,7 @@ export const useFile = (fileConfig: FileUpload) => {
type: '',
size: 0,
progress: 0,
transferMethod: TransferMethod.local_file,
transferMethod: TransferMethod.remote_url,
supportFileType: '',
url,
isRemote: true,
Expand Down

0 comments on commit 7423a48

Please sign in to comment.