fix: doc template always throw error
All checks were successful
Spell Check / Spell Check with Typos (push) Successful in 5s

This commit is contained in:
Methapon2001 2025-03-27 09:37:48 +07:00
parent df8ef4db33
commit 30815a462c

View file

@ -173,6 +173,7 @@ export class DocTemplateController extends Controller {
requestWork: replaceEmptyField(requestWork), requestWork: replaceEmptyField(requestWork),
employee: requestWork?.request.employee, employee: requestWork?.request.employee,
})); }));
break;
default: default:
throw new HttpError(HttpStatus.BAD_REQUEST, "No data for template", "noDataTemplate"); throw new HttpError(HttpStatus.BAD_REQUEST, "No data for template", "noDataTemplate");
} }