* Fix bug#38805

This commit is contained in:
zenggang
2023-10-12 07:35:07 +00:00
parent 6a158306c4
commit e1435365e0
2 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -655,7 +655,7 @@ class gitlabModel extends model
*/
public function apiGetGroups($gitlabID, $orderBy = 'id_desc', $minRole = '', $keyword = '')
{
$apiRoot = $this->getApiRoot($gitlabID, false);
$apiRoot = $this->getApiRoot($gitlabID, $minRole == 'owner' ? true : false);
$url = sprintf($apiRoot, "/groups");
if($minRole == 'owner')
{