From 106a287260cb5464f098fd29f0c50a2fdd5124c3 Mon Sep 17 00:00:00 2001 From: hailin Date: Wed, 14 Jan 2026 07:35:42 -0800 Subject: [PATCH] fix(mining-service): make health endpoints public --- .../mining-service/src/api/controllers/health.controller.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/backend/services/mining-service/src/api/controllers/health.controller.ts b/backend/services/mining-service/src/api/controllers/health.controller.ts index 434be9e6..f4cf123e 100644 --- a/backend/services/mining-service/src/api/controllers/health.controller.ts +++ b/backend/services/mining-service/src/api/controllers/health.controller.ts @@ -2,9 +2,11 @@ import { Controller, Get } from '@nestjs/common'; import { ApiTags, ApiOperation, ApiResponse } from '@nestjs/swagger'; import { PrismaService } from '../../infrastructure/persistence/prisma/prisma.service'; import { RedisService } from '../../infrastructure/redis/redis.service'; +import { Public } from '../../shared/guards/jwt-auth.guard'; @ApiTags('Health') @Controller('health') +@Public() export class HealthController { constructor( private readonly prisma: PrismaService,