Commit e0a2fb5f authored by Andrea Ruggiero's avatar Andrea Ruggiero
Browse files

Fix

parent b86f7833
Pipeline #1538 failed with stage
in 0 seconds
......@@ -42,7 +42,7 @@ class EventController extends Controller
];
if ($user !== null) {
$response["hasBooked"] = $bookingRepository->getBookingByEventAndUser($user->user_id, $event->event_id) !== null;
$temp["hasBooked"] = $bookingRepository->getBookingByEventAndUser($user->user_id, $event->event_id) !== null;
}
$response[] = $temp;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment