no message

This commit is contained in:
kittapath 2025-01-28 12:41:10 +07:00
parent 087098f8b2
commit 0a08e62a3a

View file

@ -144,8 +144,7 @@ export class InsigniaTypeController extends Controller {
@Get("active")
async GetInsigniaType_Active() {
const insigniaType_Active = await this.insigniaTypeRepository.find({
select: ["id", "name", "createdAt", "lastUpdatedAt", "lastUpdateFullName", "isActive"],
where: { isActive: true },
where: { isActive: true, insignias: { isActive: true } },
order: { name: "ASC", insignias: { level: "ASC" } },
relations: ["insignias"],
});