@@ -68,7 +68,6 @@ const calendarEvents = ref([]); // 최종적으로 FullCalendar에 표시할 이
const fetchedEvents = ref([]); // API에서 불러온 이벤트 (휴가, 공휴일)
const selectedDates = ref(new Map()); // 사용자가 클릭한 날짜 및 타입
const halfDayType = ref(null);
-const employeeId = ref(1);
// 공휴일 날짜(YYYY-MM-DD 형식)를 저장 (클릭 불가 처리용)
const holidayDates = ref(new Set());
@@ -212,7 +211,6 @@ if (selectedDates.value.size === 0) {
const vacationRequests = Array.from(selectedDates.value).map(([date, type]) => ({
date,
type,
- employeeId: employeeId.value,
}));
try {
const response = await axios.post("vacation", vacationRequests);