Release v1.7.0 (#3418)

This commit is contained in:
Cesar N.
2024-08-02 16:20:47 -06:00
committed by GitHub
parent 7cc7b874d1
commit adfc96074f
37 changed files with 52 additions and 52 deletions

View File

@@ -1601,9 +1601,9 @@ export class HttpClient<SecurityDataType = unknown> {
input !== null && typeof input !== "string"
? JSON.stringify(input)
: input,
[ContentType.FormData]: (input: FormData) =>
(Array.from(input.keys()) || []).reduce((formData, key) => {
const property = input.get(key);
[ContentType.FormData]: (input: any) =>
Object.keys(input || {}).reduce((formData, key) => {
const property = input[key];
formData.append(
key,
property instanceof Blob