mirror of
https://github.com/DeNNiiInc/dbgate.git
synced 2026-04-20 11:16:01 +00:00
data import download fixes
This commit is contained in:
@@ -43,8 +43,8 @@ ${
|
||||
? `
|
||||
const downloaded=await dbgateApi.download(${JSON.stringify(props.downloadUrl)});
|
||||
const reader=await ${extractShellApiFunctionName(functionName)}(Object.assign(${JSON.stringify(
|
||||
props
|
||||
)}, { fileName: downloaded, downloadUrl: undefined }));
|
||||
_.omit(props, ['downloadUrl'])
|
||||
)}, { fileName: downloaded }));
|
||||
`
|
||||
: `const reader=await ${extractShellApiFunctionName(functionName)}(${JSON.stringify(props)});`
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user