Skip to content

Add endpoint to delete a job - #69

Open
shifat97 wants to merge 2 commits into
bongodev:mainfrom
shifat97:issue-16
Open

shifat97 wants to merge 2 commits into
bongodev:mainfrom
shifat97:issue-16

Conversation

@shifat97

@shifat97 shifat97 commented Oct 6, 2025

Copy link
Copy Markdown
Collaborator

No description provided.

Comment thread backend/src/services/jobServices.ts Outdated
Comment on lines +51 to +55
await JobModel.findOneAndUpdate(
{ company: companyId, _id: jobId },
{ deletedAt: new Date() },
{ new: true },
);

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

can we use the softDelete plugin for it?

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