diff --git a/frontend/app/history/page.tsx b/frontend/app/history/page.tsx index be1e25a..ff0bbdf 100644 --- a/frontend/app/history/page.tsx +++ b/frontend/app/history/page.tsx @@ -36,7 +36,7 @@ export default function HistoryPage() { const fetchHistory = async (token: string) => { try { // PERBAIKAN: Ubah /api/bookings menjadi /api/my-bookings - const response = await axios.get("http://172.17.172.17:8080/api/bookings/history", { + const response = await axios.get("http://172.17.172.17:8080/api/my-bookings", { headers: { Authorization: `Bearer ${token}` }, }); setBookings(response.data.data || []);