fix: doc template always throw error
All checks were successful
Spell Check / Spell Check with Typos (push) Successful in 5s
All checks were successful
Spell Check / Spell Check with Typos (push) Successful in 5s
This commit is contained in:
parent
df8ef4db33
commit
30815a462c
1 changed files with 1 additions and 0 deletions
|
|
@ -173,6 +173,7 @@ export class DocTemplateController extends Controller {
|
|||
requestWork: replaceEmptyField(requestWork),
|
||||
employee: requestWork?.request.employee,
|
||||
}));
|
||||
break;
|
||||
default:
|
||||
throw new HttpError(HttpStatus.BAD_REQUEST, "No data for template", "noDataTemplate");
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue