Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fix vulnerability report from hunter.dev
  • Loading branch information
Roland Jeffrey Decena committed Feb 1, 2022
1 parent 8ef5062 commit 2560261
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion project/app/Shop/Products/Requests/UpdateProductRequest.php
Expand Up @@ -20,7 +20,9 @@ public function rules()
'quantity' => ['required', 'integer', 'min:0'],
'price' => ['required', 'numeric', 'min:0'],
'sale_price' => ['nullable', 'numeric'],
'weight' => ['nullable', 'numeric', 'min:0']
'weight' => ['nullable', 'numeric', 'min:0'],
'image' => 'image|mimes:jpeg,png,jpg,gif,svg|max:2048',
'cover' => 'image|mimes:jpeg,png,jpg,gif,svg|max:2048',
];
}
}

0 comments on commit 2560261

Please sign in to comment.