From 113807b6173a2385182cd236afdacc9b8f162e67 Mon Sep 17 00:00:00 2001 From: hong-sile Date: Thu, 25 Jul 2024 17:21:11 +0900 Subject: [PATCH 1/2] =?UTF-8?q?feat:=20=EA=B2=80=EC=83=89=EA=B2=B0?= =?UTF-8?q?=EA=B3=BC=EA=B0=80=20=ED=95=9C=EA=B8=80=EB=A1=9C=20=EC=A1=B0?= =?UTF-8?q?=ED=9A=8C=EB=8F=84=EB=8F=84=EB=A1=9D=20=EC=88=98=EC=A0=95(#32)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/java/play/pluv/oauth/spotify/SpotifyConnector.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main/java/play/pluv/oauth/spotify/SpotifyConnector.java b/src/main/java/play/pluv/oauth/spotify/SpotifyConnector.java index a907059..8785517 100644 --- a/src/main/java/play/pluv/oauth/spotify/SpotifyConnector.java +++ b/src/main/java/play/pluv/oauth/spotify/SpotifyConnector.java @@ -130,6 +130,7 @@ private MultiValueMap createRequestParamForSearchMusic(final Sou param.add("q", query); param.add("type", "track"); param.add("market", "KR"); + param.add("locale", "ko"); return param; } } From 4d7b71d3a8aea7d6171ae7cea2e78df5cf0a9f4d Mon Sep 17 00:00:00 2001 From: hong-sile Date: Thu, 25 Jul 2024 17:23:03 +0900 Subject: [PATCH 2/2] =?UTF-8?q?feat:=20=ED=94=8C=EB=A0=88=EC=9D=B4?= =?UTF-8?q?=EB=A6=AC=EC=8A=A4=ED=8A=B8=20=EC=9D=8C=EC=95=85=EC=9D=B4=20?= =?UTF-8?q?=ED=95=9C=EA=B8=80=EB=A1=9C=20=EC=A1=B0=ED=9A=8C=EB=8F=84?= =?UTF-8?q?=EB=8F=84=EB=A1=9D=20=EC=88=98=EC=A0=95(#32)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/java/play/pluv/oauth/spotify/SpotifyApiClient.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/play/pluv/oauth/spotify/SpotifyApiClient.java b/src/main/java/play/pluv/oauth/spotify/SpotifyApiClient.java index 0a3be8a..51dc8a6 100644 --- a/src/main/java/play/pluv/oauth/spotify/SpotifyApiClient.java +++ b/src/main/java/play/pluv/oauth/spotify/SpotifyApiClient.java @@ -51,7 +51,7 @@ SpotifySearchMusicResponse searchMusic( @RequestParam final MultiValueMap params ); - @GetExchange(url = "https://api.spotify.com/v1/playlists/{playListId}/tracks?market=KR") + @GetExchange(url = "https://api.spotify.com/v1/playlists/{playListId}/tracks?market=KR&locale=ko") SpotifyPlayListMusicResponses getMusics( @PathVariable final String playListId, @RequestHeader("Authorization") final String accessToken