เพิ่ม status email ตอนแก้ไข

This commit is contained in:
AdisakKanthawilang 2024-10-18 14:35:38 +07:00
parent a5fa754079
commit f157efebc8

View file

@ -6436,6 +6436,7 @@ export class ProfileController extends Controller {
Object.assign(profile, body);
Object.assign(history, { ...profile, id: undefined });
profile.statusEmail = "NOT_VERIFIED";
profile.lastUpdateUserId = request.user.sub;
profile.lastUpdateFullName = request.user.name;
profile.lastUpdatedAt = new Date();