fix: match backend typos GetOwnerResevationRequests (missing r)
All checks were successful
Build frontend / build (push) Successful in 42s

This commit is contained in:
Claw AI
2026-04-05 17:52:08 +00:00
parent 3bdb99f2e5
commit e6249e845e
2 changed files with 2 additions and 2 deletions

View File

@ -259,7 +259,7 @@ export default function OwnerReservationRequestsPage() {
const loadReservations = async () => { const loadReservations = async () => {
try { try {
const token = AuthService.getToken(); const token = AuthService.getToken();
const res = await fetch(`${API_BASE}/Reservations/GetOwnerReservationRequests`, { const res = await fetch(`${API_BASE}/Reservations/GetOwnerResevationRequests`, {
headers: { Authorization: `Bearer ${token}` }, headers: { Authorization: `Bearer ${token}` },
}); });

View File

@ -219,7 +219,7 @@ export default function UserReservationsPage() {
const loadReservations = async () => { const loadReservations = async () => {
try { try {
const token = AuthService.getToken(); const token = AuthService.getToken();
const res = await fetch(`${API_BASE}/Reservations/GetUserReservations`, { const res = await fetch(`${API_BASE}/Reservations/GetUserResevations`, {
headers: { Authorization: `Bearer ${token}` }, headers: { Authorization: `Bearer ${token}` },
}); });