fix: bump simple-git to 3.32.3 and use ConfigService for giteaApiBaseUrl
Some checks failed
ci/woodpecker/push/ci Pipeline failed

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-03-10 22:44:03 -05:00
parent 6e2b9a307e
commit 639abfaefa
3 changed files with 11 additions and 7 deletions

View File

@@ -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,