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

fix: file upload with sasjs server type, json not parsed

This commit is contained in:
2023-06-22 12:48:40 +02:00
parent c0f78d0c1e
commit a4aaeba31c

View File

@@ -101,7 +101,7 @@ export class FileUploader extends BaseJobExecutor {
: res.result
break
}
} else if (this.serverType !== ServerType.Sasjs) {
} else {
jsonResponse =
typeof res.result === 'string'
? getValidJson(res.result)