Skip to content

Commit dee8b22

Browse files
feat: change user to user_id as part of payload (#118)
1 parent 59dbc6a commit dee8b22

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/GetStream/StreamChat/Channel.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ public function getCID(): string
6464
*/
6565
private static function addUser(array $payload, string $userId)
6666
{
67-
$payload["user"] = ["id" => $userId];
67+
$payload["user_id"] = $userId;
6868
return $payload;
6969
}
7070

0 commit comments

Comments
 (0)