We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent eb430d9 commit 6b7484aCopy full SHA for 6b7484a
src/ServiceProvider.php
@@ -43,14 +43,13 @@ class ServiceProvider extends AddonServiceProvider
43
44
public function bootAddon()
45
{
46
- Utility::make('statamic-github-workflow-dispatch-utility')
+ Utility::register('statamic-github-workflow-dispatch-utility')
47
->title('GitHub Workflow Dispatch')
48
->description('Manually dispatch the GitHub Workflow.')
49
->icon('git')
50
->routes(function ($router) {
51
$router->get('/', [GithubWorkflowDispatchUtilityController::class, 'index'])->name('index');
52
$router->post('/', [GithubWorkflowDispatchUtilityController::class, 'dispatch'])->name('dispatch');
53
- })
54
- ->register();
+ });
55
}
56
0 commit comments