WEB-494:fix: resolve template reports 404 error (#2965)

This commit is contained in:
Shubham Kumar
2026-01-03 16:54:20 -06:00
committed by GitHub
parent 2c0603a2bd
commit 5af11fe757
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -351,7 +351,7 @@ export class ClientsService {
retrieveClientReportTemplate(templateId: string, clientId: string) {
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' });
}
/**
+1 -1
View File
@@ -510,7 +510,7 @@ export class LoansService {
getTemplateData(templateId: any, loanId: any): Observable<any> {
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' });
}
/**