From 7ae63e60db0c5d2f4cef14a61b0d324a845e83b1 Mon Sep 17 00:00:00 2001 From: Bright Date: Thu, 15 Aug 2024 13:18:21 +0700 Subject: [PATCH] api_key --- src/interfaces/call-api.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/interfaces/call-api.ts b/src/interfaces/call-api.ts index d6498fab..962cd5a0 100644 --- a/src/interfaces/call-api.ts +++ b/src/interfaces/call-api.ts @@ -23,6 +23,7 @@ class CallAPI { headers: { Authorization: `${token}`, "Content-Type": "application/json", + "api_key": process.env.API_KEY }, }); return response.data.result; @@ -39,6 +40,7 @@ class CallAPI { headers: { Authorization: `${token}`, "Content-Type": "application/json", + "api_key": process.env.API_KEY }, }); return response.data.result;