From bcbdafa8c6d4269d318b0804f7250da8dd1d3392 Mon Sep 17 00:00:00 2001 From: hanif salafi Date: Thu, 3 Jul 2025 23:34:19 +0700 Subject: [PATCH] feat: update clientKey --- service/http-config/axios-interceptor-instance.ts | 2 +- service/http-config/http-base-instance.ts | 2 +- service/http-config/http-base-services.ts | 2 +- service/http-config/http-interceptor-services.ts | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/service/http-config/axios-interceptor-instance.ts b/service/http-config/axios-interceptor-instance.ts index 079398f..422a192 100644 --- a/service/http-config/axios-interceptor-instance.ts +++ b/service/http-config/axios-interceptor-instance.ts @@ -10,7 +10,7 @@ const axiosInterceptorInstance = axios.create({ baseURL, headers: { "Content-Type": "application/json", - "X-Client-Key": process.env.MEDOLS_CLIENT_KEY || 'bb65b1ad-e954-4a1a-b4d0-74df5bb0b640' + "X-Client-Key": "bb65b1ad-e954-4a1a-b4d0-74df5bb0b640" }, withCredentials: true, }); diff --git a/service/http-config/http-base-instance.ts b/service/http-config/http-base-instance.ts index 574f160..19fff91 100644 --- a/service/http-config/http-base-instance.ts +++ b/service/http-config/http-base-instance.ts @@ -6,7 +6,7 @@ const axiosBaseInstance = axios.create({ baseURL, headers: { "content-type": "application/json", - "X-Client-Key": process.env.MEDOLS_CLIENT_KEY || 'bb65b1ad-e954-4a1a-b4d0-74df5bb0b640' + "X-Client-Key": "bb65b1ad-e954-4a1a-b4d0-74df5bb0b640" }, withCredentials: true, }); diff --git a/service/http-config/http-base-services.ts b/service/http-config/http-base-services.ts index 25e52fc..7df973c 100644 --- a/service/http-config/http-base-services.ts +++ b/service/http-config/http-base-services.ts @@ -2,7 +2,7 @@ import axiosBaseInstance from "./http-base-instance"; const defaultHeaders = { "Content-Type": "application/json", - "X-Client-Key": process.env.MEDOLS_CLIENT_KEY || 'bb65b1ad-e954-4a1a-b4d0-74df5bb0b640' + "X-Client-Key": "bb65b1ad-e954-4a1a-b4d0-74df5bb0b640" }; export async function httpGet(pathUrl: any, headers?: any) { diff --git a/service/http-config/http-interceptor-services.ts b/service/http-config/http-interceptor-services.ts index 373e40b..4d33d96 100644 --- a/service/http-config/http-interceptor-services.ts +++ b/service/http-config/http-interceptor-services.ts @@ -5,7 +5,7 @@ import { getCsrfToken } from "../master-user"; const defaultHeaders = { "Content-Type": "application/json", - "X-Client-Key": process.env.MEDOLS_CLIENT_KEY || 'bb65b1ad-e954-4a1a-b4d0-74df5bb0b640' + "X-Client-Key": "bb65b1ad-e954-4a1a-b4d0-74df5bb0b640" }; export async function httpGetInterceptor(pathUrl: any) {