Commit 9cee92c3 authored by Andrea Ruggiero's avatar Andrea Ruggiero
Browse files

Remove auth check on events and restaurants api

parent cd797229
Pipeline #1524 failed with stage
in 0 seconds
......@@ -14,7 +14,9 @@ class EventController extends Controller
public function __construct()
{
$this->middleware('auth');
$this->middleware('auth', ['only' => [
'postBooking'
]]);
}
public function getEvents(EventRepository $eventRepository, BookingRepository $bookingRepository,
......
......@@ -13,7 +13,7 @@ class RestaurantController extends Controller
public function __construct()
{
$this->middleware('auth');
//$this->middleware('auth');
}
public function getRestaurants(RestaurantRepository $restaurantRepository) {
......
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