diff --git a/apps/api/src/app.controller.ts b/apps/api/src/app.controller.ts index f50dec2..5565a4e 100644 --- a/apps/api/src/app.controller.ts +++ b/apps/api/src/app.controller.ts @@ -1,4 +1,5 @@ import { Controller, Get } from "@nestjs/common"; +import { SkipThrottle } from "@nestjs/throttler"; import { AppService } from "./app.service"; import { PrismaService } from "./prisma/prisma.service"; import type { ApiResponse, HealthStatus } from "@mosaic/shared"; @@ -17,6 +18,7 @@ export class AppController { } @Get("health") + @SkipThrottle() async getHealth(): Promise> { const dbHealthy = await this.prisma.isHealthy(); const dbInfo = await this.prisma.getConnectionInfo();