Update job_offer_routes.js

This commit is contained in:
xfarrow 2024-03-18 12:21:13 +01:00
parent 9cd0ba795d
commit 06a548eb55
1 changed files with 0 additions and 2 deletions

View File

@ -27,8 +27,6 @@ async function insert(req, res) {
req.body.salary_frequency, req.body.salary_frequency,
req.body.location); req.body.location);
console.log(insertedJobOffer);
if (insertedJobOffer) { if (insertedJobOffer) {
res.set('Location', `/api/joboffers/${insertedJobOffer.id}`); res.set('Location', `/api/joboffers/${insertedJobOffer.id}`);
return res.status(201).json(insertedJobOffer); return res.status(201).json(insertedJobOffer);