import axios from 'axios'; import { InsertReservationType } from 'types/InsertReservationType'; export const setReservation = async ( reservation: InsertReservationType, ): Promise<void> => axios.post('/api/web/reservations/', reservation);