timetable.api.js 265 Bytes
Newer Older
1
2
3
4
5
6
7
8
9
10
11
12
13
import axios from "axios";
import { baseUrl } from "../utils/baseUrl.js";

const submit = async (sendData) => {
  const { data } = await axios.post(`${baseUrl}/api/timetable`, sendData)
  return data
}

const timetableApi = {
  submit
}

export default timetableApi