Skip to content

Commit 7beff02

Browse files
committed
fix: mail parameter type conversion in ExternalNotificationController
1 parent a8956f3 commit 7beff02

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/Http/Controllers/API/ExternalNotificationController.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ public function accept(Request $request): JsonResponse
5656
"content" => $request->content,
5757
],
5858
$request->send_to,
59-
$request->mail
59+
(bool) $request->mail
6060
);
6161

6262
$channel->update([

0 commit comments

Comments
 (0)