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,