From 10454269d97b7888f90e8147f8aa6b301039b5f9 Mon Sep 17 00:00:00 2001 From: Ezhilarasi Date: Fri, 18 Oct 2019 16:40:07 +0530 Subject: Response message parsing for save Change-Id: I79b6b14ee9154801f4e8d05f7750603c7de5d4ba Issue-ID: CCSDK-1785 Signed-off-by: Ezhilarasi --- .../blueprint/modify-template/editor/editor.service.ts | 4 ++-- .../blueprint/modify-template/modify-template.component.html | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'cds-ui/client/src') diff --git a/cds-ui/client/src/app/feature-modules/blueprint/modify-template/editor/editor.service.ts b/cds-ui/client/src/app/feature-modules/blueprint/modify-template/editor/editor.service.ts index f1d1d148c..ceaace3b9 100644 --- a/cds-ui/client/src/app/feature-modules/blueprint/modify-template/editor/editor.service.ts +++ b/cds-ui/client/src/app/feature-modules/blueprint/modify-template/editor/editor.service.ts @@ -49,11 +49,11 @@ export class EditorService { } saveBlueprint(body: any | null, options?: any): Observable { - return this.api.post(BlueprintURLs.save, body, options); + return this.api.post(BlueprintURLs.save, body, { responseType: 'text' }); } publishBlueprint(body: any | null, options?: any): Observable { - return this.api.post(BlueprintURLs.publish, body, options); + return this.api.post(BlueprintURLs.publish, body, { responseType: 'text' }); } deployPost(body: any | null, options?: any): Observable { diff --git a/cds-ui/client/src/app/feature-modules/blueprint/modify-template/modify-template.component.html b/cds-ui/client/src/app/feature-modules/blueprint/modify-template/modify-template.component.html index a6612d537..3740ced70 100644 --- a/cds-ui/client/src/app/feature-modules/blueprint/modify-template/modify-template.component.html +++ b/cds-ui/client/src/app/feature-modules/blueprint/modify-template/modify-template.component.html @@ -38,7 +38,7 @@ limitations under the License. - + -- cgit 1.2.3-korg