Merge branch 'net-dav' into develop
This commit is contained in:
commit
aebf14ba54
4 changed files with 4 additions and 4 deletions
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue