1
0
mirror of https://github.com/sasjs/adapter.git synced 2025-12-11 01:14:36 +00:00

chore: update variable name from config to ovverrideSasjsConfig

This commit is contained in:
2021-07-19 13:00:06 +05:00
parent 5347aeba09
commit 4a61fb8f7f

View File

@@ -540,17 +540,17 @@ export default class SASjs {
* Process). Is prepended at runtime with the value of `appLoc`.
* @param files - array of files to be uploaded, including File object and file name.
* @param params - request URL parameters.
* @param config - object to override existing config (optional)
* @param overrideSasjsConfig - object to override existing config (optional)
*/
public uploadFile(
sasJob: string,
files: UploadFile[],
params: any,
config?: any
overrideSasjsConfig?: any
) {
const fileUploader = config
const fileUploader = overrideSasjsConfig
? new FileUploader(
{ ...this.sasjsConfig, ...config },
{ ...this.sasjsConfig, ...overrideSasjsConfig },
this.jobsPath,
this.requestClient!
)