event status can now include 'soon'

This commit is contained in:
2023-03-01 17:21:37 +10:00
parent 22ebefc46a
commit 3efe31c91f

View File

@@ -44,7 +44,7 @@ class EventRequest extends BaseRequest
'end_at' => 'date|after:start_date',
'publish_at' => 'date|nullable',
'status' => [
Rule::in(['draft', 'open', 'closed', 'cancelled']),
Rule::in(['draft', 'soon', 'open', 'closed', 'cancelled']),
],
'registration_type' => [
Rule::in(['none', 'email', 'link']),