* Add job create unit

This commit is contained in:
zenggang
2023-12-07 09:35:58 +00:00
parent 285bd1e7ef
commit 237e212630
6 changed files with 54 additions and 23 deletions
+2
View File
@@ -690,6 +690,8 @@ class repoModel extends model
$repo->acl = json_decode($repo->acl);
if(empty($repo->acl)) $repo->acl = new stdclass();
if(empty($repo->acl->acl)) $repo->acl->acl = 'custom';
$repo->serviceHost = (int)$repo->serviceHost;
$repo->serviceProject = (int)$repo->serviceProject;
return $repo;
}