Skip to content

Commit 38f4a76

Browse files
committed
getIntegrationHandler change namespace name
1 parent 475a83f commit 38f4a76

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

app/Listeners/Forms/NotifyFormSubmission.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,8 @@ public function handle(FormSubmitted $event)
4141
public static function getIntegrationHandler(FormSubmitted $event, FormIntegration $formIntegration): AbstractIntegrationHandler
4242
{
4343
$integration = FormIntegration::getIntegration($formIntegration->integration_id);
44-
if ($integration && isset($integration['file_name']) && class_exists('App\Service\Forms\Webhooks\\' . $integration['file_name'])) {
45-
$className = 'App\Service\Forms\Webhooks\\' . $integration['file_name'];
44+
if ($integration && isset($integration['file_name']) && class_exists('App\Service\Forms\Integrations\\' . $integration['file_name'])) {
45+
$className = 'App\Service\Forms\Integrations\\' . $integration['file_name'];
4646
return new $className($event, $formIntegration, $integration);
4747
}
4848
throw new \Exception('Unknown Integration!!');

0 commit comments

Comments
 (0)