29 Mei 2026

This commit is contained in:
[Valentino Heman Budiarto]
2026-05-29 18:55:54 +07:00
parent d2c6fb0d69
commit 5e005e8524
12 changed files with 29 additions and 23 deletions
+1 -1
View File
@@ -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://localhost:8080/api/my-bookings", {
const response = await axios.get("http://172.17.110.6:8080/api/my-bookings", {
headers: { Authorization: `Bearer ${token}` },
});
setBookings(response.data.data || []);