From 6a3d0f8abc60476c1b2292c0d6b9a9a610ae2bc2 Mon Sep 17 00:00:00 2001 From: VE10-Sanjeev Date: Sat, 10 Sep 2022 13:04:50 +0530 Subject: [PATCH] localhost api removed : ps --- .../pd-service/pd-triger.service.ts | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) diff --git a/ng6-seed/src/app/personal-discussion/pd-service/pd-triger.service.ts b/ng6-seed/src/app/personal-discussion/pd-service/pd-triger.service.ts index a4f9ca4..f5e2760 100755 --- a/ng6-seed/src/app/personal-discussion/pd-service/pd-triger.service.ts +++ b/ng6-seed/src/app/personal-discussion/pd-service/pd-triger.service.ts @@ -355,10 +355,10 @@ export class PdTrigerService { // initiate address for pd process initiateAddressPdProcess(updateDate: any): Observable { updateDate.fk_updatedby = this._aws.getlocale(); - console.log("i am 2",updateDate); + // console.log("i am 2",updateDate); // editData.updatedon = currentdate; - return this._http.post("http://localhost/AWSEC2/sparqapi/api/updatePDMaster", { records: updateDate }) - + // return this._http.post("http://localhost/AWSEC2/sparqapi/api/updatePDMaster", { records: updateDate }) + return this._http.post(this.apiUrl + "updatePDMaster", { records: updateDate }) .pipe( catchError(this.handleError('operation', [])) ) @@ -565,9 +565,10 @@ export class PdTrigerService { // pd review status update details pdReviewStatusUpdate(editData: any): Observable { editData.fk_updatedby = this._aws.getlocale(); - console.log("i am 3",editData); + // console.log("i am 3",editData); // editData.updatedon = currentdate; - return this._http.post("http://localhost/AWSEC2/sparqapi/api/updatePDMaster", { records: editData }) + // return this._http.post("http://localhost/AWSEC2/sparqapi/api/updatePDMaster", { records: editData }) + return this._http.post(this.apiUrl + "updatePDMaster", { records: editData }) .pipe( catchError(this.handleError('operation', [])) @@ -947,14 +948,14 @@ generatePDReportPDF(pdId: any): Observable { return this._http.post(this.apiUrl + "generatePDReportPDF", { "records": pdId }); } archivePDImages(Dtl : any): Observable { - return this._http.post("http://localhost/AWSEC2/sparqapi/api/archivePDSMCImages", { "records": Dtl }); - // return this._http.post(this.apiUrl + "archivePDSMCImages", { "records": Dtl }); + // return this._http.post("http://localhost/AWSEC2/sparqapi/api/archivePDSMCImages", { "records": Dtl }); + return this._http.post(this.apiUrl + "archivePDSMCImages", { "records": Dtl }); } photoPDFDownload(params:any): Observable{ - return this._http.post("http://localhost/AWSEC2/sparqapi/api/smcPhotoPDFDownload", { "records": params }); + // return this._http.post("http://localhost/AWSEC2/sparqapi/api/smcPhotoPDFDownload", { "records": params }); - // return this._http.post(this.apiUrl + "smcPhotoPDFDownload", { "records": params }); + return this._http.post(this.apiUrl + "smcPhotoPDFDownload", { "records": params }); } checkExistPDDetails(datas,entity_id){ return this._http.post(this.apiUrl+'checkExistPDDetails',{records:datas,client:entity_id})