change url param case from snake_case to camelCase

This commit is contained in:
Bilal Catic
2019-09-13 11:11:28 +02:00
parent 1a874d4d88
commit 8f09d4f227

View File

@@ -33,29 +33,29 @@ router.get("/vrstanekretnine", getRealEstateTypes);
router.post("/vrstanekretnine/:searchRequestId", postRealEstateTypes);
router.post("/vrstanekretnine", postRealEstateTypes);
router.get("/lokacija/:request_id", getLocation);
router.post("/lokacija/:request_id", postLocation);
router.get("/lokacija/:searchRequestId", getLocation);
router.post("/lokacija/:searchRequestId", postLocation);
router.get("/povrsina/:request_id", getSize);
router.post("/povrsina/:request_id", postSize);
router.get("/povrsina/:searchRequestId", getSize);
router.post("/povrsina/:searchRequestId", postSize);
router.get("/okucnica/:request_id", getGardenSize);
router.post("/okucnica/:request_id", postGardenSize);
router.get("/okucnica/:searchRequestId", getGardenSize);
router.post("/okucnica/:searchRequestId", postGardenSize);
router.get("/cijena/:request_id", getPrice);
router.post("/cijena/:request_id", postPrice);
router.get("/cijena/:searchRequestId", getPrice);
router.post("/cijena/:searchRequestId", postPrice);
router.get("/pregled/:request_id", getQueryReview);
router.post("/pregled/:request_id", postQueryReview);
router.get("/pregled/:searchRequestId", getQueryReview);
router.post("/pregled/:searchRequestId", postQueryReview);
router.get("/posalji/:request_id", getQuerySubmit);
router.post("/posalji/:request_id", postQuerySubmit);
router.get("/posalji/:searchRequestId", getQuerySubmit);
router.post("/posalji/:searchRequestId", postQuerySubmit);
router.get("/odjava/:request_id", getUnsubscribe);
router.get("/odjava/:searchRequestId", getUnsubscribe);
router.get("/ponovo", getGoAgain);
router.get("/nekretnine/:request_id", getRealEstates);
router.get("/nekretnine/:searchRequestId", getRealEstates);
router.get("/redirect/:id", redirect);