Skip to content

Commit

Permalink
Fix limit
Browse files Browse the repository at this point in the history
  • Loading branch information
rvanoord committed Dec 10, 2024
1 parent 9571bbc commit 6a51c54
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/bcc-login/includes/class-bcc-coreapi-client.php
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ function fetch_groups($group_uids)

$qry = json_encode($qry);

$response = wp_remote_get( str_replace("https://", "https://core.", $this->_settings->coreapi_base_url) . "/groups?fields=uid,name,tags&filter=$qry", array(
$response = wp_remote_get( str_replace("https://", "https://core.", $this->_settings->coreapi_base_url) . "/groups?limit=1000&fields=uid,name,tags&filter=$qry", array(
"headers" => array(
"Authorization" => "Bearer ".$token
)
Expand Down

0 comments on commit 6a51c54

Please sign in to comment.