Skip to content

Commit

Permalink
[fix] date 체크 안 하면 null 로 보내도록 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
zestlee1106 committed Dec 20, 2023
1 parent 03efde3 commit 715d823
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pages/room/add/step1.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ export default function AddRoom() {
monthlyRent: data.monthPrice,
deposit: data.depositPrice,
maintenanceFee: data.maintananceFee,
availableDate: data.dateAvailable ? formatDateForAPI(data.dateAvailable) : '',
availableDate: data.dateAvailable ? formatDateForAPI(data.dateAvailable) : null,
gasIncluded: data.gasChecked,
waterIncluded: data.waterChecked,
electricityIncluded: data.electricityChecked,
Expand Down

0 comments on commit 715d823

Please sign in to comment.