Having recently modified the back-end endpoint /offers/company/:companyId to /company/:id/offers, we must update the front-end services to ensure that the requests align with this new endpoint.
To achieve this, we must adjust the fetchCompanyOffers function within the CompanyOfferService.js file.
Having recently modified the back-end endpoint
/offers/company/:companyId
to/company/:id/offers
, we must update the front-end services to ensure that the requests align with this new endpoint. To achieve this, we must adjust thefetchCompanyOffers
function within the CompanyOfferService.js file.