Skip to content

Commit

Permalink
Adjusted dangerLevel to be required.
Browse files Browse the repository at this point in the history
  • Loading branch information
Lednerb committed Oct 16, 2019
1 parent 95d4444 commit b46094c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/Http/Requests/ScanStartRequest.php
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ public function rules()
'url' => ['required', 'string'],
'callbackurls' => ['required', 'array'],
'callbackurls.*' => ['url'],
'dangerLevel' => ['integer', 'min:0', 'max:10'],
'dangerLevel' => ['required', 'integer', 'min:0', 'max:10'],
'scanners' => ['array'],
'scanners.*' => ['string', new IsConfiguredScannerRule()]
];
Expand Down

0 comments on commit b46094c

Please sign in to comment.