From ffa89ba6074fd016e53923fdcb07aa04681215bc Mon Sep 17 00:00:00 2001 From: ice-bear98 <122257455+ice-bear98@users.noreply.github.com> Date: Wed, 25 Dec 2024 17:20:21 +0900 Subject: [PATCH] =?UTF-8?q?Fix:=20#302=20=ED=95=A0=20=EC=9D=BC=20=EB=AA=A9?= =?UTF-8?q?=EB=A1=9D=20=EC=88=98=ED=96=89=EC=9E=90=20=EA=B2=80=EC=83=89=20?= =?UTF-8?q?=EB=B3=B8=EC=9D=B8=20=EA=B0=80=EB=8A=A5=ED=95=98=EA=B2=8C=20?= =?UTF-8?q?=EC=88=98=EC=A0=95=20(#311)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/mocks/services/projectServiceHandler.ts | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/mocks/services/projectServiceHandler.ts b/src/mocks/services/projectServiceHandler.ts index 6186958..344ee13 100644 --- a/src/mocks/services/projectServiceHandler.ts +++ b/src/mocks/services/projectServiceHandler.ts @@ -63,9 +63,7 @@ const projectServiceHandler = [ } // 접두사(nickname)과 일치하는 유저 정보 최대 5명 추출 - const matchedSearchUsers = searchUsers - .filter((user) => user.nickname.startsWith(nickname) && user.userId !== userId) - .slice(0, 5); + const matchedSearchUsers = searchUsers.filter((user) => user.nickname.startsWith(nickname)).slice(0, 5); return HttpResponse.json(matchedSearchUsers); }),