fix: EOM endo rewards showing as doubled in the client (#1756)
Some checks failed
Build Docker image / docker (push) Has been cancelled
Build / build (push) Has been cancelled

Closes #1754

Reviewed-on: #1756
Co-authored-by: Sainan <63328889+Sainan@users.noreply.github.com>
Co-committed-by: Sainan <63328889+Sainan@users.noreply.github.com>
This commit is contained in:
Sainan 2025-04-21 10:43:10 -07:00 committed by Sainan
parent 9912a623b1
commit 98aebba677
2 changed files with 2 additions and 1 deletions

View File

@ -84,7 +84,7 @@ export const missionInventoryUpdateController: RequestHandler = async (req, res)
MissionRewards, MissionRewards,
...credits, ...credits,
...inventoryUpdates, ...inventoryUpdates,
FusionPoints: inventoryChanges?.FusionPoints, //FusionPoints: inventoryChanges?.FusionPoints, // This in combination with InventoryJson or InventoryChanges seems to just double the number of endo shown, so unsure when this is needed.
SyndicateXPItemReward, SyndicateXPItemReward,
AffiliationMods AffiliationMods
}); });

View File

@ -39,6 +39,7 @@ export type IInventoryChanges = {
RegularCredits?: number; RegularCredits?: number;
PremiumCredits?: number; PremiumCredits?: number;
PremiumCreditsFree?: number; PremiumCreditsFree?: number;
FusionPoints?: number;
PrimeTokens?: number; PrimeTokens?: number;
InfestedFoundry?: IInfestedFoundryClient; InfestedFoundry?: IInfestedFoundryClient;
Drones?: IDroneClient[]; Drones?: IDroneClient[];