fix: match backend typos GetOwnerResevationRequests (missing r)
All checks were successful
Build frontend / build (push) Successful in 42s
All checks were successful
Build frontend / build (push) Successful in 42s
This commit is contained in:
@ -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}` },
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|||||||
@ -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}` },
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user