Update ProfileController.ts

This commit is contained in:
AnandaTon 2024-05-29 09:40:58 +07:00
parent 9ee8240b1c
commit 0f82f9ae78

View file

@ -355,7 +355,7 @@ export class ProfileController extends Controller {
AppointDate: profiles?.dateAppoint,
BirthDate: profiles?.birthDate ? Extension.ToThaiShortDate(profiles.birthDate) : null,
RetireDate: profiles?.dateRetireLaw,
AvatarId: profiles?.avatar ?? null,
// AvatarId: profiles?.avatar ?? null,
};
const certs = await this.certificateRepository.find({