Skip to content

Commit 3ee7ebe

Browse files
author
Rafael Marinho
committed
fix
1 parent bf2c0a0 commit 3ee7ebe

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

lib/GetStream/StreamChat/Client.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1757,10 +1757,10 @@ 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];
1764-
return $this->post("channels/delivered", $latestDeliveredMessages, $params);
1764+
return $this->post("channels/delivered", $data, $params);
17651765
}
17661766
}

0 commit comments

Comments
 (0)