From 7365915e393dd7abd7ed17b5c0eaca7522ea833f Mon Sep 17 00:00:00 2001 From: DOBOB_LAPTOP Date: Tue, 17 Oct 2023 14:13:45 +0900 Subject: [PATCH] =?UTF-8?q?refactor:=20api=20url=20=EB=B3=80=EA=B2=BD=20?= =?UTF-8?q?=EB=B0=98=EC=98=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/src/features/search/remotes/search.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/features/search/remotes/search.ts b/frontend/src/features/search/remotes/search.ts index db00530e..486a71ec 100644 --- a/frontend/src/features/search/remotes/search.ts +++ b/frontend/src/features/search/remotes/search.ts @@ -8,7 +8,7 @@ export const getSingerSearchPreview = async (query: string): Promise => { const encodedQuery = encodeURIComponent(query); - return await fetcher(`/singers?name=${encodedQuery}&search=singer,song`, 'GET'); + return await fetcher(`/singers?name=${encodedQuery}&search=singer&search=song`, 'GET'); }; export const getSingerDetail = async (singerId: number): Promise => {