@sasjs/adapter 3.7.4 → 3.7.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.js +2 -2
- package/node/index.js +2 -2
- package/package.json +1 -1
- package/src/job-execution/WebJobExecutor.ts +1 -1
- package/src/utils/getValidJson.ts +2 -0
package/package.json
CHANGED
|
@@ -151,7 +151,7 @@ export class WebJobExecutor extends BaseJobExecutor {
|
|
|
151
151
|
|
|
152
152
|
/* The NodeFormData object does not set the request header - so, set it */
|
|
153
153
|
const contentType =
|
|
154
|
-
formData instanceof NodeFormData
|
|
154
|
+
formData instanceof NodeFormData && typeof FormData === 'undefined'
|
|
155
155
|
? `multipart/form-data; boundary=${formData.getBoundary()}`
|
|
156
156
|
: undefined
|
|
157
157
|
|