Skip to content

Commit

Permalink
Fix controller class
Browse files Browse the repository at this point in the history
  • Loading branch information
apfelbox committed Nov 21, 2024
1 parent b36c754 commit 9ce7e1e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion config/routes.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
storyblok.webhook:
path: /webhook/{urlSecret}
controller: Torr\Storyblok\Controller\WebhookController::webhookEndpoint
controller: Torr\Storyblok\Webhook\Controller\WebhookController::webhookEndpoint
defaults:
urlSecret: ~
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
use Torr\Storyblok\Webhook\Parser\WebhookPayloadParser;
use Torr\Storyblok\Webhook\Request\RequestValidator;

final class StoryblokWebhookController extends AbstractController
final class WebhookController extends AbstractController
{
/**
* Handles the incoming webhook from Storyblok
Expand Down

0 comments on commit 9ce7e1e

Please sign in to comment.