import axios from "../config/axios";

export const updateJadwal = async (token, id, data) => {
	// try {
	const res = await axios.put(`/laporan/jadwal/update/${id}`, data, { headers: { Authorization: token } });
	return res.data;
	// } catch (error) {
	// console.log("error", error);
	// return false;
	// }
};
