fixing path command report

This commit is contained in:
Warunee Tamkoo 2024-09-18 12:18:50 +07:00
parent 6362391281
commit 1440847a20
2 changed files with 14 additions and 10 deletions

View file

@ -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"
? {