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

Update FileUploader.ts

This commit is contained in:
Allan Bowe
2021-08-09 15:42:29 +03:00
committed by GitHub
parent f2da84829e
commit 5375d0a208

View File

@@ -61,6 +61,8 @@ export class FileUploader {
'Content-Type': 'text/plain'
}
// currently only web approach is supported for file upload
// therefore log is part of response with debug enabled and must be parsed
return this.requestClient
.post(uploadUrl, formData, undefined, 'application/json', headers)
.then(async (res) => {