Snai3i-MarketPlace / frontend / src / app / backend / endpoints / bookmeeting.ts
bookmeeting.ts
Raw
// import api from '..';
// const BOOK_MEETING_API = '/api/book-meeting';

// export const formsApi = api.injectEndpoints({
//   endpoints: (build) => ({
//     bookMeeting: build.mutation<
//       ResponseI<null>,
//       {
//         fullName: string;
//         email: string;
//         phone: string;
//         cause: string;
//       }
//     >({
//       query: (data) => ({
//         url: `${BOOK_MEETING_API}`,
//         method: 'POST',
//         body: data,
//       }),
//     }),
//   }),
// });

// export const { useBookMeetingMutation } = formsApi;