Skip to content

Feat/ds 21 cv builder module#17

Open
Anh-Thuw wants to merge 5 commits into
devfrom
feat/DS-21_CV_Builder_Module
Open

Feat/ds 21 cv builder module#17
Anh-Thuw wants to merge 5 commits into
devfrom
feat/DS-21_CV_Builder_Module

Conversation

@Anh-Thuw
Copy link
Copy Markdown
Collaborator

No description provided.

@Anh-Thuw Anh-Thuw changed the base branch from main to dev May 13, 2026 17:36
if (body.expectedJob !== undefined) dto.expected_job = body.expectedJob;
if (body.skills !== undefined) dto.skills = JSON.stringify(body.skills);
if (body.conditions !== undefined) dto.conditions = JSON.stringify(body.conditions);
if (body.experiences !== undefined) dto.experiences = JSON.stringify(body.experiences);
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Không cần check !== undefined ở đây đâu


deleteByProfileId(profile_id, trx = null) {

const queryBuilder = this.query()
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

check profile theo profile_id tồn tại ko nhen

const cv = await this.repository.getCVById(id);
async createOne(cvData) {

const trx = await getTransaction();
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Check cvData.profileId có chưa rồi mới tạo deviceIds

Comment thread backend/src/core/api/cv/cv.resolver.js Outdated
},
{
route: '/:id',
method: 'delete',
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

sao xoá endpoint delete rá, cv ko cho xoá hà

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants