Skip to content

Commit c77eb49

Browse files
Fix an update and pin a verbs version.
1 parent 227a6f3 commit c77eb49

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
],
2020
"require": {
2121
"php": "^8.1",
22-
"hirethunk/verbs": "dev-main"
22+
"hirethunk/verbs": "0.1.1"
2323
},
2424
"require-dev": {
2525
"laravel/pint": "^1.13",

src/Concerns/Actions.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ public function availableActions(?iterable $context = null): ActionCollection
2121
$pending_event = $action::makeWithContext($combined_context);
2222

2323
return PropertyCollection::fromClass($action)->hasRequiredParams($combined_context)
24-
&& $pending_event->isAllowed()
24+
&& $pending_event->isAuthorized()
2525
&& $pending_event->isValid();
2626
});
2727
}

0 commit comments

Comments
 (0)