import apiService from '../APIRequestService/APIServices';

const editReport = async (id, payload) => {
  try {
    const response = await apiService.put(`Rpt_builder2_lines/update/${id}`, payload);
    console.log("Edit api report base url ", response.data)
    return response.data;
  } catch (error) {
    console.error("Error in editReport:", error);
    throw error;
  }
};

export default {
  editReport,
};
