From 36b75726d528e746c8e48fe33484d8cffdc7c096 Mon Sep 17 00:00:00 2001 From: oysand Date: Wed, 28 Sep 2022 17:31:37 +0200 Subject: [PATCH] Filter away Echo missions that are not ready --- backend/api/Services/EchoService.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/backend/api/Services/EchoService.cs b/backend/api/Services/EchoService.cs index d6fdc8422..f1b2fd5e2 100644 --- a/backend/api/Services/EchoService.cs +++ b/backend/api/Services/EchoService.cs @@ -30,8 +30,8 @@ public EchoService(IConfiguration config, IDownstreamWebApi downstreamWebApi) public async Task> GetMissions(string? installationCode) { string relativePath = string.IsNullOrEmpty(installationCode) ? - $"robots/robot-plan" : - $"robots/robot-plan?InstallationCode={installationCode}"; + $"robots/robot-plan?Status=Ready" : + $"robots/robot-plan?InstallationCode={installationCode}&&Status=Ready"; var response = await _echoApi.CallWebApiForAppAsync( ServiceName,