no message

This commit is contained in:
kittapath 2024-09-26 17:25:33 +07:00
parent e340b6d8a8
commit 728ba1a6ff

View file

@ -229,6 +229,7 @@ export class CommandController extends Controller {
commandAffectDate: Date | null;
commandExcecuteDate: Date | null;
isBangkok: boolean | null;
isAttachment: boolean | null;
},
@Request() request: RequestWithUser,
) {
@ -878,7 +879,7 @@ export class CommandController extends Controller {
return new HttpSuccess({
template: command.commandType.fileCover,
reportName: "docx-report",
data: { _command },
data: _command,
});
}
@ -917,7 +918,7 @@ export class CommandController extends Controller {
return new HttpSuccess({
template: command.commandType.fileAttachment,
reportName: "xlsx-report",
data: { _command },
data: _command,
});
}
}