Skip to content
Snippets Groups Projects
Commit 80f78a4e authored by hugcubi's avatar hugcubi
Browse files

a

parent e77945e7
No related branches found
No related tags found
2 merge requests!10Add ts types and json mocks, remove poblate scripts and fix the cascade...,!9Dev booking request
...@@ -15,7 +15,7 @@ import { Booking } from '../types/Booking'; // Ajusta la ruta a tu modelo Bookin ...@@ -15,7 +15,7 @@ import { Booking } from '../types/Booking'; // Ajusta la ruta a tu modelo Bookin
providedIn: 'root' // Esto hace que el servicio esté disponible en toda la aplicación providedIn: 'root' // Esto hace que el servicio esté disponible en toda la aplicación
}) })
export class BookingService { export class BookingService {
private apiUrl = 'http://localhost:8080/api/bookings'; // Cambia esta URL a la de tu API private apiUrl = 'http://localhost:8080/api/bookings';
constructor(private http: HttpClient) {} constructor(private http: HttpClient) {}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment