Skip to content

Commit 2f00c23

Browse files
committed
Client: fixed params
1 parent 8a355a2 commit 2f00c23

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/Be/Api.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -243,7 +243,7 @@ public function getUser( $id_or_username, $assoc = false ) {
243243
public function getUserProjects( $id_or_username, $params = array(), $assoc = false ) {
244244

245245
$endpoint = self::ENDPOINT_USERS . '/' . $id_or_username . '/projects';
246-
$results = $this->_getDecodedJson( $endpoint, $options, 'projects', $assoc );
246+
$results = $this->_getDecodedJson( $endpoint, $params, 'projects', $assoc );
247247

248248
// IMPORTANT: Ensure this will always return an array
249249
return ( empty( $results ) )
@@ -356,7 +356,7 @@ public function getUserFeedbackCircle( $id_or_username, $options = array(), $ass
356356
public function getUserWips( $id_or_username, $params = array(), $assoc = false ) {
357357

358358
$endpoint = self::ENDPOINT_USERS . '/' . $id_or_username . '/wips';
359-
$results = $this->_getDecodedJson( $endpoint, $options, 'wips', $assoc );
359+
$results = $this->_getDecodedJson( $endpoint, $params, 'wips', $assoc );
360360

361361
// IMPORTANT: Ensure this will always return an array
362362
return ( empty( $results ) )

0 commit comments

Comments
 (0)