fixing path command report
This commit is contained in:
parent
6362391281
commit
1440847a20
2 changed files with 14 additions and 10 deletions
|
|
@ -12,7 +12,7 @@ const { showLoader, hideLoader, messageError } = mixin;
|
|||
async function genReport(data: any, fileName: string, type: string = "docx") {
|
||||
showLoader();
|
||||
await axios
|
||||
.post(`${config.API.reportTemplate}/docx/html`, data, {
|
||||
.post(`${config.API.reportTemplate}/docx`, data, {
|
||||
headers:
|
||||
type == "docx"
|
||||
? {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue