From 01c1d8c60ad3be0fb04b6958ccccd223b0a5027b Mon Sep 17 00:00:00 2001 From: karishmas6 Date: Wed, 2 Oct 2024 23:41:08 +0530 Subject: [PATCH] refactor: rename to server_url --- 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 7fe73ec6..9ae00c55 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: { server: string, username?: string, password?: string }): Promise => { +export const sendProxyConfig = async (proxyConfig: { server_url: string, username?: string, password?: string }): Promise => { try { const response = await axios.post(`http://localhost:8080/proxy/config`, proxyConfig); if (response.status === 200) {