added location_url rule

This commit is contained in:
2023-08-30 06:54:27 +10:00
parent 05149dc723
commit f23c4c42b5

View File

@@ -34,6 +34,7 @@ class EventRequest extends BaseRequest
Rule::when(strcasecmp('message', $this->attributes->get('registration_type')) == 0, 'required|message'), Rule::when(strcasecmp('message', $this->attributes->get('registration_type')) == 0, 'required|message'),
], ],
'hero' => 'uuid|exists:media,id', 'hero' => 'uuid|exists:media,id',
'location_url' => 'sometimes|string|max:255',
]; ];
} }