From 34247287e367c8a697344d5e4ae5467ab3379fd0 Mon Sep 17 00:00:00 2001 From: karishmas6 Date: Mon, 30 Sep 2024 23:55:12 +0530 Subject: [PATCH] feat: proxy config types --- 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 918b32fd..670c3d4f 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: {}): Promise => { +export const sendProxyConfig = async (proxyConfig: {type: string, server: string, username:string, password: string}): Promise => { try { const response = await axios.post(`http://localhost:8080/proxy/config`, proxyConfig); if (response.status === 200) {