Skip to content

Commit

Permalink
feat: change user to user_id as part of payload (#118)
Browse files Browse the repository at this point in the history
  • Loading branch information
totalimmersion authored Mar 27, 2024
1 parent 59dbc6a commit dee8b22
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/GetStream/StreamChat/Channel.php
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ public function getCID(): string
*/
private static function addUser(array $payload, string $userId)
{
$payload["user"] = ["id" => $userId];
$payload["user_id"] = $userId;
return $payload;
}

Expand Down

0 comments on commit dee8b22

Please sign in to comment.