Ignore:
Timestamp:
01/19/25 23:18:37 (4 months ago)
Author:
Aleksandar Panovski <apano77@…>
Branches:
main
Children:
f5b256e
Parents:
db39d9e
Message:

Done with stupid timeslots

File:
1 edited

Legend:

Unmodified
Added
Removed
  • my-react-app/src/components/RestaurantDetails.js

    rdb39d9e r8ca35dc  
    2121            try {
    2222                if (!id) return;
    23                 const response = await axios.get(`http://localhost:8080/api/restaurants/${id}`);
     23                const response = await axios.get(`http://localhost:8081/api/restaurants/${id}`);
    2424                setRestaurant(response.data);
    2525            } catch (error) {
     
    3636        const fetchTableDetails = async () => {
    3737            try {
    38                 const response = await axios.get(`http://localhost:8080/api/tables/${selectedTableId}`);
     38                const response = await axios.get(`http://localhost:8081/api/tables/${selectedTableId}`);
    3939                setSelectedTable(response.data);
    4040            } catch (error) {
Note: See TracChangeset for help on using the changeset viewer.