mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-09 11:44:10 +09:00
Set message name in success token list, just like legacy API
This commit is contained in:
parent
619eb2a782
commit
5297232a75
1 changed files with 1 additions and 1 deletions
|
|
@ -152,7 +152,7 @@ class FCMv1 extends Base implements PushInterface
|
|||
$result = @json_decode($response->getBody()->getContents());
|
||||
if ($status_code === 200)
|
||||
{
|
||||
$output->success[$tokens[$i]] = $tokens[$i];
|
||||
$output->success[$tokens[$i]] = $result->name ?? '';
|
||||
}
|
||||
elseif ($result && isset($result->error))
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue