fix: form data request as body

Co-authored-by: Andrew Bastin <andrewbastin.k@gmail.com>
This commit is contained in:
liyasthomas
2021-08-14 19:11:05 +05:30
parent 2051b8788a
commit 691629890f
7 changed files with 180 additions and 99 deletions

View File

@@ -18,7 +18,7 @@ export type HoppRESTHeader = {
export type FormDataKeyValue = {
key: string
active: boolean
} & ({ isFile: true; value: Blob } | { isFile: false; value: string })
} & ({ isFile: true; value: Blob[] } | { isFile: false; value: string })
export type HoppRESTReqBodyFormData = {
contentType: "multipart/form-data"