From 7f9fae1bdb7f31b4e86c03a9950604e87573ee7a Mon Sep 17 00:00:00 2001 From: JaeIn1 <97165077+JaeIn1@users.noreply.github.com> Date: Thu, 27 Jun 2024 14:43:30 +0900 Subject: [PATCH] =?UTF-8?q?=E2=99=BB=EF=B8=8F=20refactor:=20=EB=84=A4?= =?UTF-8?q?=EC=9D=B4=EB=B2=84=20=EB=8D=B0=EC=9D=B4=ED=84=B0=EB=9E=A9=20?= =?UTF-8?q?=ED=82=A4=20=EA=B0=92=20env=ED=8C=8C=EC=9D=BC=EB=A1=9C=20?= =?UTF-8?q?=EC=A0=80=EC=9E=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/routes/socialChart.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/routes/socialChart.js b/src/routes/socialChart.js index 19403c1..2ba440a 100644 --- a/src/routes/socialChart.js +++ b/src/routes/socialChart.js @@ -135,13 +135,13 @@ async function getNaverChart(requestBody) { requestBody, { headers: { - "X-Naver-Client-Id": "MrI3E2Bf2lMdJjrb6HaJ", - "X-Naver-Client-Secret": "pAvfRnI4Lm", + "X-Naver-Client-Id": `${process.env.NAVER_ID}`, + "X-Naver-Client-Secret": `${process.env.NAVER_SECRET}`, "Content-Type": "application/json", }, } ); - console.log("result : " + response.data.results); + console.log("result111: " + response.data.results); return response.data.results; } catch (err) { throw err;