edit command

This commit is contained in:
mamoss 2025-05-06 09:11:05 +07:00
parent 1f207783d1
commit abbf39ff6b

View file

@ -1564,7 +1564,9 @@ export class CommandController extends Controller {
: command.isBangkok == "BANGKOK"
? "กรุงเทพมหานคร"
: null;
let orgRevisionActive: any;
let orgRevisionActive: any = {
id: null,
};
if (issue == null) {
orgRevisionActive = await this.orgRevisionRepository.findOne({
where: { orgRevisionIsCurrent: true, orgRevisionIsDraft: false },