From 1b425e09c9d888714972b69fcf936846542f8360 Mon Sep 17 00:00:00 2001 From: hailin Date: Sun, 11 Jan 2026 07:02:17 -0800 Subject: [PATCH] =?UTF-8?q?fix(contribution-service):=20=E6=B7=BB=E5=8A=A0?= =?UTF-8?q?@Public=E8=A3=85=E9=A5=B0=E5=99=A8=E5=88=B0HealthController?= =?UTF-8?q?=E4=BB=A5=E7=BB=95=E8=BF=87JWT=E8=AE=A4=E8=AF=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-Authored-By: Claude Opus 4.5 --- .../src/api/controllers/health.controller.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/backend/services/contribution-service/src/api/controllers/health.controller.ts b/backend/services/contribution-service/src/api/controllers/health.controller.ts index 0e2f55da..186ec926 100644 --- a/backend/services/contribution-service/src/api/controllers/health.controller.ts +++ b/backend/services/contribution-service/src/api/controllers/health.controller.ts @@ -2,6 +2,7 @@ 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'; interface HealthStatus { status: 'healthy' | 'unhealthy'; @@ -12,6 +13,7 @@ interface HealthStatus { }; } +@Public() @ApiTags('Health') @Controller('health') export class HealthController {