optimize codes
This commit is contained in:
@@ -865,7 +865,7 @@ public class TodoService {
|
||||
JSONObject errors = new JSONObject();
|
||||
if (!modifyBookingResponse.containsKey("message")) {
|
||||
String bookComment = operaService.makeChangeDateComment(booking);
|
||||
CfgProperties property = propertyDao.getById(booking.getPropertyId());
|
||||
CfgProperties property = propertyDao.findById(booking.getPropertyId()).orElse(null);
|
||||
GuestRequestsRequest changeDateCommentRequest = new GuestRequestsRequest();
|
||||
JSONObject changeDateCommentResponse = new JSONObject();
|
||||
changeDateCommentRequest.setActionType("ADD");
|
||||
|
||||
Reference in New Issue
Block a user