WEB-494:fix: resolve template reports 404 error (#2965)
This commit is contained in:
@@ -351,7 +351,7 @@ export class ClientsService {
|
|||||||
|
|
||||||
retrieveClientReportTemplate(templateId: string, clientId: string) {
|
retrieveClientReportTemplate(templateId: string, clientId: string) {
|
||||||
const httpParams = new HttpParams().set('clientId', clientId);
|
const httpParams = new HttpParams().set('clientId', clientId);
|
||||||
return this.http.post(`/templates/${templateId}`, {}, { params: httpParams, responseType: 'text' });
|
return this.http.get(`/templates/${templateId}`, { params: httpParams, responseType: 'text' });
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
@@ -510,7 +510,7 @@ export class LoansService {
|
|||||||
|
|
||||||
getTemplateData(templateId: any, loanId: any): Observable<any> {
|
getTemplateData(templateId: any, loanId: any): Observable<any> {
|
||||||
const httpParams = new HttpParams().set('loanId', loanId);
|
const httpParams = new HttpParams().set('loanId', loanId);
|
||||||
return this.http.post(`/templates/${templateId}`, {}, { params: httpParams, responseType: 'text' });
|
return this.http.get(`/templates/${templateId}`, { params: httpParams, responseType: 'text' });
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in New Issue
Block a user