Merge branch 'net-dav' into develop

This commit is contained in:
Net 2024-03-20 14:19:02 +07:00
commit aebf14ba54
4 changed files with 4 additions and 4 deletions

View file

@ -156,8 +156,8 @@ export class ProfileAbilityController extends Controller {
const history = new ProfileAbilityHistory();
Object.assign(history, { ...record, id: undefined });
Object.assign(record, requestBody);
Object.assign(history, { ...requestBody, id: undefined });
history.profileAbilityId = abilityId;
history.lastUpdateFullName = req.user.name;

View file

@ -169,8 +169,8 @@ export class ProfileAssessmentsController extends Controller {
const history = new ProfileAssessmentHistory();
Object.assign(history, { ...record, id: undefined });
Object.assign(record, requestBody);
Object.assign(history, { ...requestBody, id: undefined });
history.profileAssessmentId = assessmentId;
history.lastUpdateFullName = req.user.name;

View file

@ -201,8 +201,8 @@ export class ProfileEducationsController extends Controller {
const history = new ProfileEducationHistory();
Object.assign(history, { ...record, id: undefined });
Object.assign(record, requestBody);
Object.assign(history, { ...requestBody, id: undefined });
history.profileEducationId = educationId;
history.lastUpdateFullName = req.user.name;

View file

@ -157,8 +157,8 @@ export class ProfileInformationController extends Controller {
console.log(requestBody);
Object.assign(history, { ...record, id: undefined });
Object.assign(record, requestBody);
Object.assign(history, { ...requestBody, id: undefined });
history.profileInformationId = informationId;
history.lastUpdateFullName = req.user.name;