Skip to content
Snippets Groups Projects
Commit 88da4dd1 authored by Benedikt Heinrichs's avatar Benedikt Heinrichs
Browse files

Merge branch 'Topic/1452-largerFiles' into 'Product/1440-largerFiles'

Update: Included form-data mime type

See merge request !123
parents b4f586b4 62f478a7
Branches
Tags
3 merge requests!125Product/1440 larger files,!124Sprint/2021 07,!123Update: Included form-data mime type
...@@ -60,7 +60,6 @@ export class BlobApi { ...@@ -60,7 +60,6 @@ export class BlobApi {
public static uploadObject( public static uploadObject(
resourceId: any, resourceId: any,
path: any, path: any,
mimetype: any,
data: any, data: any,
thenHandler: any = apiConnectionBasic.defaultThenHandler, thenHandler: any = apiConnectionBasic.defaultThenHandler,
catchHandler: any = apiConnectionBasic.defaultOnCatch catchHandler: any = apiConnectionBasic.defaultOnCatch
...@@ -70,7 +69,7 @@ export class BlobApi { ...@@ -70,7 +69,7 @@ export class BlobApi {
method: 'PUT', method: 'PUT',
url: getBlobApiUrl() + resourceId + '/' + apiConnectionBasic.preparePath(path), url: getBlobApiUrl() + resourceId + '/' + apiConnectionBasic.preparePath(path),
headers: { headers: {
'Content-Type': mimetype 'Content-Type': 'multipart/form-data'
}, },
data data
}) })
......
This diff is collapsed.
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment