lender and product issue fixed
This commit is contained in:
parent
a55e370654
commit
7c96d01078
@ -265,7 +265,7 @@ export class LenderProductSegMappingComponent implements OnInit {
|
||||
// console.log(formValues)
|
||||
if (!this.checkDuplicateInObject(formValues.temp_lender)) {
|
||||
console.log("worked")
|
||||
this.masterService.savedetails(formValues).subscribe(
|
||||
this.masterService.savedetails(params).subscribe(
|
||||
dataresult => {
|
||||
if (dataresult.status == 200) {
|
||||
console.log(dataresult);
|
||||
|
||||
@ -101,7 +101,7 @@ private apiUrl = environment.apiEndpoint;
|
||||
}
|
||||
savedetails(formValues: any): Observable<any>{
|
||||
|
||||
return this._http.post<any[]>(this.apiUrl + "saveTemplateMappingDetailsV2", {"records":{"entity_id":"5","product_id":formValues.temp_lender[0].fk_product_id,"customer_segment_id":formValues.temp_lender[0].fk_customer_segment}} );
|
||||
return this._http.post<any[]>(this.apiUrl + "saveTemplateMappingDetailsV2",formValues );
|
||||
}
|
||||
getLenderMasterListDetails(): Observable<any> {
|
||||
return this._http.get<any[]>(this.apiUrl + "getListOfLenders");
|
||||
|
||||
Loading…
Reference in New Issue
Block a user