optimizations
This commit is contained in:
@@ -17,7 +17,7 @@ final class DiscoveryEventController extends Controller
|
||||
{
|
||||
$payload = $request->validate([
|
||||
'event_id' => ['nullable', 'uuid'],
|
||||
'event_type' => ['required', 'string', 'in:view,click,favorite,download'],
|
||||
'event_type' => ['required', 'string', 'in:view,click,favorite,download,dwell,scroll'],
|
||||
'artwork_id' => ['required', 'integer', 'exists:artworks,id'],
|
||||
'occurred_at' => ['nullable', 'date'],
|
||||
'algo_version' => ['nullable', 'string', 'max:64'],
|
||||
|
||||
Reference in New Issue
Block a user