1
0
mirror of https://github.com/sasjs/server.git synced 2026-01-12 00:30:06 +00:00

fix: debug not passed

This commit is contained in:
Mihajlo Medjedovic
2021-10-18 10:42:21 +00:00
parent 38ab27c1ed
commit d9555e151b
4 changed files with 9 additions and 8 deletions

View File

@@ -41,7 +41,7 @@ export class ExecutionController {
let webout = path.join(session.path, 'webout.txt')
await createFile(webout, '')
program = `
%let sasjsprocessmode=Stored Program;
filename _webout "${webout}";
@@ -49,7 +49,7 @@ ${program}`
// if no files are uploaded filesNamesMap will be undefined
if (otherArgs && otherArgs.filesNamesMap) {
const uploadSasCode = generateFileUploadSasCode(
const uploadSasCode = await generateFileUploadSasCode(
otherArgs.filesNamesMap,
session.path
)

View File

@@ -16,7 +16,7 @@ export class FileUploadController {
private upload = multer({ storage: this.storage })
//It will intercept request and generate uniqe uuid to be used as a subfolder name
//It will intercept request and generate unique uuid to be used as a subfolder name
//that will store the files uploaded
public preuploadMiddleware = async (req: any, res: any, next: any) => {
let session