Skip to content

Commit

Permalink
fix fleet after sortie saving
Browse files Browse the repository at this point in the history
  • Loading branch information
myangelkamikaze committed Dec 21, 2023
1 parent 65b62cd commit e0575f5
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions ElectronicObserver/Services/ApiFileService/ApiFileService.cs
Original file line number Diff line number Diff line change
Expand Up @@ -455,9 +455,7 @@ public async Task ProcessedApi(string apiName)

await using ElectronicObserverContext db = new();

SortieRecord? sortie = await db.Sorties
.Include(s => s.FleetData)
.FirstOrDefaultAsync(s => s.Id == sortieId);
SortieRecord? sortie = await db.Sorties.FirstOrDefaultAsync(s => s.Id == sortieId);

if (sortie is null) return;

Expand Down

0 comments on commit e0575f5

Please sign in to comment.