Skip to content

Commit

Permalink
Update CardPage.js
Browse files Browse the repository at this point in the history
  • Loading branch information
RScodes1 authored Feb 23, 2024
1 parent e044d90 commit ce8264e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions CardPage.js
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ var price,mainLocation;
var data1;
function fetchLocationDetails(locationId){

const locationDetailsUrl = `https://mock-final-copy-api.onrender.com/locations/${locationId}`;
const locationDetailsUrl = `https://mock-api-alcazar.onrender.com/locations/${locationId}`;

fetch(locationDetailsUrl)
.then(response =>{
Expand Down Expand Up @@ -93,4 +93,4 @@ document.addEventListener("DOMContentLoaded", function () {
}


});
});

0 comments on commit ce8264e

Please sign in to comment.