Add approve-and-live action for Live Show
Some checks failed
linter / quality (push) Has been cancelled
tests / ci (push) Has been cancelled
tests / ui (push) Has been cancelled

This commit is contained in:
Codex Agent
2026-01-05 14:16:27 +01:00
parent 148c075d58
commit 99186e8e2f
7 changed files with 172 additions and 10 deletions

View File

@@ -205,6 +205,8 @@ Route::prefix('v1')->name('api.v1.')->group(function () {
Route::get('photos', [LiveShowPhotoController::class, 'index'])->name('tenant.events.live-show.photos.index');
Route::post('photos/{photo}/approve', [LiveShowPhotoController::class, 'approve'])
->name('tenant.events.live-show.photos.approve');
Route::post('photos/{photo}/approve-and-live', [LiveShowPhotoController::class, 'approveAndLive'])
->name('tenant.events.live-show.photos.approve-and-live');
Route::post('photos/{photo}/reject', [LiveShowPhotoController::class, 'reject'])
->name('tenant.events.live-show.photos.reject');
Route::post('photos/{photo}/clear', [LiveShowPhotoController::class, 'clear'])