From 3ab77a3cae0ce6f862eb044d6726d0fec5dd5114 Mon Sep 17 00:00:00 2001 From: sumin Date: Thu, 22 May 2025 13:07:56 +0900 Subject: [PATCH] =?UTF-8?q?#5=20:sparkles:=20[Feat]=20:=20=EC=8A=A4?= =?UTF-8?q?=EC=9B=A8=EA=B1=B0=20=EC=B6=94=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/domain/match/controller/match.controller.ts | 3 ++- src/domain/match/match.service.ts | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/domain/match/controller/match.controller.ts b/src/domain/match/controller/match.controller.ts index e5060d9..6068f5e 100644 --- a/src/domain/match/controller/match.controller.ts +++ b/src/domain/match/controller/match.controller.ts @@ -46,11 +46,12 @@ export class MatchController { return ResponseDto.ok(results); } + @ApiOperation({ summary: '알림창 조회', description: '알림창 보관함에서 알림을 리스트로 가져옵니다.'}) @Get() @UseGuards(JwtAuthGuard) async getMyMatchingResults(@Req() req): Promise> { const userId = req.user.id; - const results = await this.matchService.getHighSimilarityFindersForProtector(userId); + const results = await this.matchService.getSimilarities(userId); return ResponseDto.ok(results); } diff --git a/src/domain/match/match.service.ts b/src/domain/match/match.service.ts index 9b6a53e..c34269a 100644 --- a/src/domain/match/match.service.ts +++ b/src/domain/match/match.service.ts @@ -91,7 +91,7 @@ export class MatchService { } - async getHighSimilarityFindersForProtector( + async getSimilarities( userId: number, ): Promise<{ finderId: number; message: string; presigned_url: string }[]> { // 1. 보호자가 작성한 feed 목록 조회