This commit is contained in:
zenggang
2023-02-13 02:02:32 +00:00
parent c724e74778
commit 317ddd5fbc
2 changed files with 7 additions and 3 deletions
+2 -1
View File
@@ -780,13 +780,14 @@ class gitlab
}
else
{
$response = commonModel::http($api);
list($response, $httpCode) = commonModel::http($api, null, array(), array(), 'data', 'Post', 30, true);
if(!empty(commonModel::$requestErrors))
{
commonModel::$requestErrors = array();
return array();
}
if($httpCode == 500) return array();
return json_decode($response);
}
}