|
@ -14,9 +14,10 @@ class WebhooksController |
|
|
public function __invoke(Request $request) |
|
|
public function __invoke(Request $request) |
|
|
{ |
|
|
{ |
|
|
$jobConfigKey = NotificationType::{$request->input('notification_type')}(); |
|
|
$jobConfigKey = NotificationType::{$request->input('notification_type')}(); |
|
|
$this->determineValidRequest($request->input('password')); |
|
|
|
|
|
|
|
|
|
|
|
$notificationId = AppleNotification::storeNotification($jobConfigKey, $request->input()); |
|
|
AppleNotification::storeNotification($jobConfigKey, $request->input()); |
|
|
|
|
|
|
|
|
|
|
|
//$this->determineValidRequest($request->input('password')); |
|
|
|
|
|
|
|
|
$payload = NotificationPayload::createFromRequest($request); |
|
|
$payload = NotificationPayload::createFromRequest($request); |
|
|
|
|
|
|
|
|