From bbe7c0cb9e1b9f2ceb0347e0b624f0eedb5225e7 Mon Sep 17 00:00:00 2001 From: Amogh-Bharadwaj Date: Thu, 28 Sep 2023 16:22:17 +0530 Subject: [PATCH] removes api file on ui side --- ui/app/connectors/create/api.ts | 12 ------------ 1 file changed, 12 deletions(-) delete mode 100644 ui/app/connectors/create/api.ts diff --git a/ui/app/connectors/create/api.ts b/ui/app/connectors/create/api.ts deleted file mode 100644 index 01bf545015..0000000000 --- a/ui/app/connectors/create/api.ts +++ /dev/null @@ -1,12 +0,0 @@ -import { CreatePeerRequest, ValidatePeerRequest } from '@/grpc_generated/route'; -import { GetFlowServiceClient } from '@/rpc/rpc'; - -export async function validatePeer(req: ValidatePeerRequest) { - let flowServiceAddress = process.env.PEERDB_FLOW_SERVER_ADDRESS!; - let flowServiceClient = GetFlowServiceClient(flowServiceAddress); -} - -export async function createPeer(req: CreatePeerRequest) { - let flowServiceAddress = process.env.PEERDB_FLOW_SERVER_ADDRESS!; - let flowServiceClient = GetFlowServiceClient(flowServiceAddress); -} \ No newline at end of file