สร้างทะเบียนประวัติ

This commit is contained in:
Kittapath 2024-03-29 09:44:09 +07:00
parent 55f1c1add8
commit 250e4860b3
2 changed files with 17 additions and 15 deletions

View file

@ -130,6 +130,8 @@ export class ProfileController extends Controller {
}
const profile = Object.assign(new Profile(), body);
profile.isProbation = false;
profile.isLeave = false;
profile.createdUserId = request.user.sub;
profile.createdFullName = request.user.name;
profile.lastUpdateUserId = request.user.sub;