From 20d851558a55da41880c3d7e8a2ecdc5dafc8e1c Mon Sep 17 00:00:00 2001 From: zhangtao25 Date: Mon, 30 Dec 2024 17:26:59 +0800 Subject: [PATCH] chore: daily development --- .../services/common/pull-change-code-and-insert-db.service.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/packages/canyon-collect/src/apps/collect/services/common/pull-change-code-and-insert-db.service.ts b/packages/canyon-collect/src/apps/collect/services/common/pull-change-code-and-insert-db.service.ts index 183b4647..f722aaff 100644 --- a/packages/canyon-collect/src/apps/collect/services/common/pull-change-code-and-insert-db.service.ts +++ b/packages/canyon-collect/src/apps/collect/services/common/pull-change-code-and-insert-db.service.ts @@ -1,7 +1,9 @@ import { diffLine } from "../../../../utils/diffline"; import { PrismaService } from "../../../../prisma/prisma.service"; import { parseProjectID } from "canyon-data"; +import { Injectable } from "@nestjs/common"; +@Injectable() export class PullChangeCodeAndInsertDbService { constructor(private readonly prisma: PrismaService) {} async invoke({ projectID, sha, compareTarget }) {