From 7beff026680a73a84334a26618768c29b22ef744 Mon Sep 17 00:00:00 2001 From: dogukanoksuz Date: Thu, 4 Jan 2024 13:48:13 +0000 Subject: [PATCH] fix: mail parameter type conversion in ExternalNotificationController --- app/Http/Controllers/API/ExternalNotificationController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Http/Controllers/API/ExternalNotificationController.php b/app/Http/Controllers/API/ExternalNotificationController.php index 4d1ab6f2..dd73aaf0 100644 --- a/app/Http/Controllers/API/ExternalNotificationController.php +++ b/app/Http/Controllers/API/ExternalNotificationController.php @@ -56,7 +56,7 @@ public function accept(Request $request): JsonResponse "content" => $request->content, ], $request->send_to, - $request->mail + (bool) $request->mail ); $channel->update([