Skip to content

Commit

Permalink
Merge pull request #5 from zikriya/develop
Browse files Browse the repository at this point in the history
Develop
  • Loading branch information
zikriya committed Feb 1, 2023
2 parents cd2aba3 + faa8c8f commit 400d572
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/controllers/job.controller.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { jobService } from '../services';
export const createJob = async (req: Request, res: Response): Promise<any> => {
try {
const job = await jobService.addJobs(req.body);
res.send(job.id);
res.send({jobId: job.id});
} catch (err) {
console.error(err);
}
Expand Down

0 comments on commit 400d572

Please sign in to comment.