From 4b20895d7cf6497f2b4bcac4cd5bab62838b9e9c Mon Sep 17 00:00:00 2001 From: Atatakai Date: Fri, 27 Dec 2024 16:26:37 +0400 Subject: [PATCH] fix: service is not deployed after creating --- .../MainPage/header/AgentButton/AgentNotRunningButton.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/components/MainPage/header/AgentButton/AgentNotRunningButton.tsx b/frontend/components/MainPage/header/AgentButton/AgentNotRunningButton.tsx index 15320c00..e2aca40a 100644 --- a/frontend/components/MainPage/header/AgentButton/AgentNotRunningButton.tsx +++ b/frontend/components/MainPage/header/AgentButton/AgentNotRunningButton.tsx @@ -212,7 +212,7 @@ const useServiceDeployment = () => { let middlewareServiceResponse; if (!service) { try { - return ServicesService.createService({ + middlewareServiceResponse = await ServicesService.createService({ stakingProgramId: selectedStakingProgramId, serviceTemplate, deploy: false, // TODO: deprecated will remove