fix: 修复执行日志没有清理的bug

This commit is contained in:
xiaojunnuo
2024-08-25 01:55:34 +08:00
parent 86ebbcb9bb
commit 22a336370a
14 changed files with 157 additions and 76 deletions

View File

@@ -107,7 +107,7 @@ export class PipelineService extends BaseService<PipelineEntity> {
async save(bean: PipelineEntity) {
if (!isPlus()) {
const count = await this.repository.count();
if (count >= 10) {
if (count >= freeCount) {
throw new NeedVIPException('免费版最多只能创建10个pipeline');
}
}