Commit 42499094 authored by Ulrich Wohlfeil's avatar Ulrich Wohlfeil 💬
Browse files

Bugfix

parent 5f092af0
{
"name": "ngx-enaio",
"version": "11.0.6",
"version": "11.0.7",
"description": "An Angular layer for the enaio rest services ",
"author": "https://github.com/OPTIMALSYSTEMS/ngx-enaio/graphs/contributors",
"scripts": {
......
{
"name": "ngx-enaio",
"version": "11.0.6",
"version": "11.0.7",
"description": "An Angular layer for the enaio rest services ",
"keywords": ["enaio", "Optimal Systems", "ECMind", "angular"],
"homepage": "https://gitlab.ecmind.ch/open/ngx-enaio",
......
......@@ -130,8 +130,6 @@ export class EnaioDmsService {
options?: EnaioDmsUpdateOptions,
pathPrefix = '/'
): Observable<EnaioDmsResult> {
const headers = new HttpHeaders().set('Content-Type', 'application/json');
const formData = new FormData();
formData.append('data', JSON.stringify(data));
......@@ -142,7 +140,6 @@ export class EnaioDmsService {
}
return this.http.post<EnaioDmsResult>(pathPrefix + 'dms/objects/' + objectId, formData, {
headers,
params: options as any,
});
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment