14
This commit is contained in:
@@ -52,8 +52,8 @@ public class BookingController {
|
||||
@PostMapping("/{code}/book")
|
||||
public ResponseEntity<?> createBooking(
|
||||
@PathVariable String code,
|
||||
@RequestParam Long placeId,
|
||||
@RequestParam String date
|
||||
@RequestBody Long placeId,
|
||||
@RequestBody String date
|
||||
) {
|
||||
try {
|
||||
if (placeId == null || date == null || date.isEmpty()) {
|
||||
|
||||
Reference in New Issue
Block a user