* Adjust file tree get type for repo.

This commit is contained in:
caoyanyi
2023-11-22 15:48:25 +08:00
parent 2856950525
commit 26abaf3be1
2 changed files with 42 additions and 12 deletions
+1 -1
View File
@@ -3049,6 +3049,6 @@ class gitlabModel extends model
if(!$gitlab) return array();
$url = rtrim($gitlab->url, '/') . '/api/graphql' . "?private_token={$gitlab->token}";
return json_decode(commonModel::http($url, $query));
return json_decode(commonModel::http($url, $query, array(CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1)));
}
}