Skip to content

Commit

Permalink
Filter away Echo missions that are not ready
Browse files Browse the repository at this point in the history
  • Loading branch information
oysand committed Sep 29, 2022
1 parent 1341aa4 commit 36b7572
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions backend/api/Services/EchoService.cs
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@ public EchoService(IConfiguration config, IDownstreamWebApi downstreamWebApi)
public async Task<IList<EchoMission>> 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,
Expand Down

0 comments on commit 36b7572

Please sign in to comment.