fix: add svg format
This commit is contained in:
@@ -29,7 +29,7 @@ public function store(Request $request)
|
||||
'subcategory_ids' => 'nullable|array',
|
||||
'subcategory_ids.*' => 'integer|exists:sub_categories,id',
|
||||
'image_id' => 'nullable|exists:images,id',
|
||||
'image' => 'nullable|image|max:8192',
|
||||
'image' => 'nullable|file|extensions:jpg,jpeg,png,gif,webp,bmp,svg|max:8192',
|
||||
'duration' => 'nullable|integer',
|
||||
'is_premium' => 'nullable|boolean',
|
||||
'file' => 'nullable|file|extensions:mp3,wav,ogg,flac,aac,m4a,opus,mpga,wma,mp4,mov,m4v,webm,mkv,avi,3gp|max:512000',
|
||||
@@ -481,7 +481,7 @@ public function update(Request $request, $id)
|
||||
'subcategory_ids.*' => 'integer|exists:sub_categories,id',
|
||||
'is_premium' => 'nullable|boolean',
|
||||
'image_id' => 'nullable|exists:images,id',
|
||||
'image' => 'nullable|image|max:8192',
|
||||
'image' => 'nullable|file|extensions:jpg,jpeg,png,gif,webp,bmp,svg|max:8192',
|
||||
'duration' => 'nullable|integer',
|
||||
'file' => 'nullable|file|extensions:mp3,wav,ogg,flac,aac,m4a,opus,mpga,wma,mp4,mov,m4v,webm,mkv,avi,3gp|max:512000',
|
||||
'external_url' => 'nullable|string',
|
||||
|
||||
Reference in New Issue
Block a user