fix: webapp upload file (#10195)
This commit is contained in:
parent
0066531266
commit
dfa3ef0564
2 changed files with 3 additions and 3 deletions
|
|
@ -216,7 +216,7 @@ export const useFile = (fileConfig: FileUpload) => {
|
|||
handleAddFile(uploadingFile)
|
||||
startProgressTimer(uploadingFile.id)
|
||||
|
||||
uploadRemoteFileInfo(url).then((res) => {
|
||||
uploadRemoteFileInfo(url, !!params.token).then((res) => {
|
||||
const newFile = {
|
||||
...uploadingFile,
|
||||
type: res.mime_type,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue