From a29ca0d44f8efdd2391f267c881a09d92ed0fb4f Mon Sep 17 00:00:00 2001 From: karishmas6 Date: Tue, 1 Oct 2024 23:38:24 +0530 Subject: [PATCH] feat: pass apiKey to proxyConfig --- src/api/proxy.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/api/proxy.ts b/src/api/proxy.ts index ebe87f95..28957be0 100644 --- a/src/api/proxy.ts +++ b/src/api/proxy.ts @@ -1,6 +1,6 @@ import { default as axios } from "axios"; -export const sendProxyConfig = async (proxyConfig: { type: string, server: string, username?: string, password?: string }): Promise => { +export const sendProxyConfig = async (proxyConfig: { type: string, server: string, username?: string, password?: string, apiKey?: string }): Promise => { try { const response = await axios.post(`http://localhost:8080/proxy/config`, proxyConfig); if (response.status === 200) {