Skip to content
This repository was archived by the owner on Feb 7, 2024. It is now read-only.

Commit 7284191

Browse files
committed
Append appId to the request payload
1 parent a1d7d97 commit 7284191

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/Dashboard/Http/Controllers/SendMessage.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,9 @@ public function __invoke(Request $request, ChannelManager $channelManager)
4545
$request->appId
4646
);
4747
} else {
48+
// Add 'appId' to the payload.
49+
$payload['appId'] = $request->appId;
50+
4851
$channelManager->broadcastAcrossServers(
4952
$request->appId, $request->channel, (object) $payload
5053
);

0 commit comments

Comments
 (0)