Unverified Commit c20bc635 authored by MackRais's avatar MackRais Committed by GitHub
Browse files

Update FCM.php

Fixed correct payload. Empty json object in body.
parent 7282c824
......@@ -44,7 +44,7 @@ class FCM extends Handler
$payload = [
'notification' => [
'title' => $message->getTitle() ?? (strlen($body) > 64 ? substr($body, 0, 61) . '...' : $body),
'body' => $message,
'body' => $body,
],
'data' => array_merge([
'message' => $message,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment