Skip to content

Commit bf2c0a0

Browse files
author
Rafael Marinho
committed
fix typo
1 parent ca49bcf commit bf2c0a0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/GetStream/StreamChat/Client.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1757,9 +1757,9 @@ public function updateUserActiveLiveLocation(string $userId, array $location): S
17571757
*/
17581758
public function markDelivered(string $userId, array $latestDeliveredMessages): StreamResponse
17591759
{
1760-
$data = [
1760+
$data = {
17611761
'latest_delivered_messages' => $latestDeliveredMessages
1762-
];
1762+
};
17631763
$params = ["user_id" => $userId];
17641764
return $this->post("channels/delivered", $latestDeliveredMessages, $params);
17651765
}

0 commit comments

Comments
 (0)