chore: upgrade Node.js runtime to v24 across codebase #419
@@ -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<ApiResponse<HealthStatus>> {
|
||||
const dbHealthy = await this.prisma.isHealthy();
|
||||
const dbInfo = await this.prisma.getConnectionInfo();
|
||||
|
||||
Reference in New Issue
Block a user