1
0
mirror of https://github.com/sasjs/adapter.git synced 2026-01-09 21:30:05 +00:00

Merge branch 'master' into parse-compute-log

This commit is contained in:
Mihajlo Medjedovic
2020-08-18 13:26:16 +02:00
3 changed files with 20 additions and 2 deletions

View File

@@ -399,8 +399,10 @@ export default class SASjs {
this.sasjsConfig.appLoc,
this.sasjsConfig.serverUrl,
this.jobsPath,
this.setCsrfTokenWeb,
this.csrfTokenWeb
);
return fileUploader.uploadFile(sasJob, files, params);
}
@@ -911,6 +913,10 @@ export default class SASjs {
return sasjsWaitingRequest.requestPromise.promise;
}
private setCsrfTokenWeb = (csrfToken: CsrfToken) => {
this.csrfTokenWeb = csrfToken;
};
private setCsrfTokenApi = (csrfToken: CsrfToken) => {
this.csrfTokenApi = csrfToken;
@@ -1181,7 +1187,8 @@ export default class SASjs {
this.fileUploader = new FileUploader(
this.sasjsConfig.appLoc,
this.sasjsConfig.serverUrl,
this.jobsPath
this.jobsPath,
this.setCsrfTokenWeb
);
}