feat(event): suspend event dates instead of cancelling

This commit is contained in:
2026-09-11 15:57:17 -03:00
parent 96df431d60
commit 1880fc8147
10 changed files with 52 additions and 29 deletions

View File

@@ -56,10 +56,10 @@ class EventController extends Controller
);
}
public function cancelDate(Request $request, EventDate $eventDate): EventDateResource
public function suspendDate(Request $request, EventDate $eventDate): EventDateResource
{
return EventDateResource::make(
$this->eventService->cancelDateForTenant(
$this->eventService->suspendDateForTenant(
$request->user()->tenant()->firstOrFail(),
$eventDate,
)