Skip to content
Snippets Groups Projects
Verified Commit 78078439 authored by Defendi Alberto's avatar Defendi Alberto
Browse files

Replace proptype.

parent b701696c
No related branches found
No related tags found
1 merge request!69Possibility to insert a reservation and new docs.
import axios from 'axios';
import { InsertReservationProps } from 'components/Dashboard/ReservationPage/Reservation/InsertReservationProps';
import { ReservationProps } from 'components/Dashboard/ReservationPage/Reservation/ReservationProps';
export const setReservation = async (reservation: any): Promise<void> =>
export const setReservation = async (
reservation: InsertReservationProps,
): Promise<void> =>
axios.options('/api/web/reservations', {}).then((res) => console.log(res));
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment