fix: bump simple-git to 3.32.3 and use ConfigService for giteaApiBaseUrl

Co-Authored-By: Claude Opus 4.6 <[email protected]>
This commit is contained in:
2026-03-10 22:44:03 -05:00
co-authored by Claude Opus 4.6
parent 6e2b9a307e
commit 639abfaefa
3 changed files with 11 additions and 7 deletions
@@ -12,7 +12,10 @@ export interface ReviewResult {
@Injectable()
export class GatekeeperService {
private readonly logger = new Logger(GatekeeperService.name);
private readonly giteaApiBaseUrl = "https://git.mosaicstack.dev/api/v1";
private get giteaApiBaseUrl(): string {
return `${this.configService.getOrThrow<string>('GITEA_URL')}/api/v1`;
}
constructor(
private readonly prisma: PrismaService,
+1 -1
View File
@@ -37,7 +37,7 @@
"ioredis": "^5.9.2",
"reflect-metadata": "^0.2.2",
"rxjs": "^7.8.1",
"simple-git": "^3.27.0",
"simple-git": "^3.32.3",
"zod": "^3.24.1"
},
"devDependencies": {