* Optimize codes related to handle GitLab webhook and others.

This commit is contained in:
dingguodong
2021-11-11 19:16:05 +08:00
parent acb23a5053
commit 24966356bc
4 changed files with 14 additions and 22 deletions

View File

@@ -146,7 +146,7 @@ class gitModel extends model
}
$version = (int)$lastInDB->commit + 1;
$logs = $this->repo->getUnsyncCommits($repo);
$logs = $this->repo->getUnsyncedCommits($repo);
$objects = array();
if(!empty($logs))
{