Skip to content

Commit 787af8e

Browse files
authored
Use post for query channels (#34)
1 parent 22c047d commit 787af8e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/GetStream/StreamChat/Client.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -624,7 +624,7 @@ public function queryChannels($filterConditions, $sort=null, $options=null)
624624
}
625625
$options["filter_conditions"] = $filterConditions;
626626
$options["sort"] = $sortFields;
627-
return $this->get("channels", ["payload" => json_encode($options)]);
627+
return $this->post("channels", $options);
628628
}
629629

630630
/**

0 commit comments

Comments
 (0)