Skip to content

Commit 16d89c0

Browse files
committed
Requried repositories for actions.
1 parent c07907d commit 16d89c0

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/Http/Controllers/PerformActionController.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,10 @@ class PerformActionController extends RepositoryController
88
{
99
public function __invoke(ActionRequest $request)
1010
{
11+
$request->validate([
12+
'repositories' => 'required',
13+
]);
14+
1115
$action = $request->action();
1216

1317
return $action->handleRequest(

0 commit comments

Comments
 (0)