From 71dfaeedabac0299b2b8ea0ae2cb909cbe85bb65 Mon Sep 17 00:00:00 2001 From: Rodrigo Gonzalez Date: Thu, 23 Mar 2023 20:28:54 -0300 Subject: [PATCH] Minor fixes to function calls --- src/WebhooksController.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/WebhooksController.php b/src/WebhooksController.php index f3feb1a..8027787 100644 --- a/src/WebhooksController.php +++ b/src/WebhooksController.php @@ -8,7 +8,6 @@ use Appvise\AppStoreNotifications\Model\NotificationType; use Appvise\AppStoreNotifications\Model\AppleNotification; use Appvise\AppStoreNotifications\Exceptions\WebhookFailed; use Appvise\AppStoreNotifications\Model\NotificationPayload; -use Appvise\AppStoreNotifications\ProxyHelperFacade as AppStoreNotificationsProxyHelperFacade; class WebhooksController { @@ -16,7 +15,7 @@ class WebhooksController { $proxy_host = config('appstore-server-notifications.proxy_host'); if (!empty($proxy_host)) { - ProxyHelperFacade::createFromRequest($request)->toHost($proxy_host); + ProxyHelperFacade::CreateProxy($request)->toHost($proxy_host, ''); } $jobConfigKey = NotificationType::{$request->input('notification_type')}();