fix(trading-service): make health endpoints public

This commit is contained in:
hailin 2026-01-14 07:28:24 -08:00
parent e1fb70e2ee
commit 30dc2f6665
1 changed files with 2 additions and 0 deletions

View File

@ -2,9 +2,11 @@ import { Controller, Get } from '@nestjs/common';
import { ApiTags, ApiOperation } from '@nestjs/swagger'; import { ApiTags, ApiOperation } from '@nestjs/swagger';
import { PrismaService } from '../../infrastructure/persistence/prisma/prisma.service'; import { PrismaService } from '../../infrastructure/persistence/prisma/prisma.service';
import { RedisService } from '../../infrastructure/redis/redis.service'; import { RedisService } from '../../infrastructure/redis/redis.service';
import { Public } from '../../shared/guards/jwt-auth.guard';
@ApiTags('Health') @ApiTags('Health')
@Controller('health') @Controller('health')
@Public()
export class HealthController { export class HealthController {
constructor( constructor(
private readonly prisma: PrismaService, private readonly prisma: PrismaService,