diff options
author | 2019-10-18 16:40:07 +0530 | |
---|---|---|
committer | 2019-10-18 11:22:40 +0000 | |
commit | 10454269d97b7888f90e8147f8aa6b301039b5f9 (patch) | |
tree | 9214f3a6a394a96a98a5b0392b042040f62d567f /cds-ui/client/src/app/feature-modules/blueprint/modify-template/editor | |
parent | 626cce5c6921376fa0ad3d927cec391b19c45b3a (diff) |
Response message parsing for save
Change-Id: I79b6b14ee9154801f4e8d05f7750603c7de5d4ba
Issue-ID: CCSDK-1785
Signed-off-by: Ezhilarasi <ezhrajam@in.ibm.com>
Diffstat (limited to 'cds-ui/client/src/app/feature-modules/blueprint/modify-template/editor')
-rw-r--r-- | cds-ui/client/src/app/feature-modules/blueprint/modify-template/editor/editor.service.ts | 4 |
1 files changed, 2 insertions, 2 deletions
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<any> { - return this.api.post(BlueprintURLs.save, body, options); + return this.api.post(BlueprintURLs.save, body, { responseType: 'text' }); } publishBlueprint(body: any | null, options?: any): Observable<any> { - return this.api.post(BlueprintURLs.publish, body, options); + return this.api.post(BlueprintURLs.publish, body, { responseType: 'text' }); } deployPost(body: any | null, options?: any): Observable<any> { |