Skip to content

Commit

Permalink
Remove is deprecated filter
Browse files Browse the repository at this point in the history
  • Loading branch information
oysand committed Feb 12, 2024
1 parent ccec1db commit 124ee83
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backend/api/Services/MissionDefinitionService.cs
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ public async Task<MissionDefinition> Create(MissionDefinition missionDefinition)

public async Task<MissionDefinition?> ReadById(string id)
{
return await GetMissionDefinitionsWithSubModels().Where(m => m.IsDeprecated == false)
return await GetMissionDefinitionsWithSubModels()
.FirstOrDefaultAsync(missionDefinition => missionDefinition.Id.Equals(id));
}

Expand Down

0 comments on commit 124ee83

Please sign in to comment.