Skip to content

Commit

Permalink
[FIX] 일정 조회 API 경로 수정 (#283)
Browse files Browse the repository at this point in the history
  • Loading branch information
keemsebin authored Dec 3, 2024
1 parent 8a90271 commit e8fd1a7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/apis/schedule/api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ export const schedule = {
*/
guests: async (scheduleUuid: string, nonMemberUuid: string) => {
const response = await instance.get<ScheduleTimeResponse>(
`/meetings/${scheduleUuid}/schedules/guests?scheduleUuid=${nonMemberUuid}`
`/meetings/${scheduleUuid}/schedules/guests/${nonMemberUuid}`
);
return response.data;
},
Expand Down
2 changes: 1 addition & 1 deletion src/components/features/CreateMeetingForm/DueDateForm.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ export const DueDateForm = ({ context, onNext, onPrev }: Props<MeetingForm['dueD
[accessDate]
);
const endDates = Object.entries(endDateOf).filter(([, value]) =>
dayjs(value).isSameOrBefore(dayjs(meetingStartDate))
dayjs(value).startOf('day').isSameOrBefore(dayjs(meetingStartDate))
);

return (
Expand Down

0 comments on commit e8fd1a7

Please sign in to comment.