Skip to content

Commit 3c8859c

Browse files
authored
Update fetch-http-client.ejs
1 parent bb69900 commit 3c8859c

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

templates/base/http-clients/fetch-http-client.ejs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -121,6 +121,10 @@ export class HttpClient<SecurityDataType = unknown> {
121121
property.forEach(element => {
122122
append(formData, key, element)
123123
})
124+
} else if (Array.isArray(property)) {
125+
property.forEach((element) => {
126+
append(formData, key, element)
127+
})
124128
} else {
125129
append(formData, key, property)
126130
}

0 commit comments

Comments
 (0)