diff --git a/src/services/serversideVendorsService.ts b/src/services/serversideVendorsService.ts index cc5659a3..15f2474d 100644 --- a/src/services/serversideVendorsService.ts +++ b/src/services/serversideVendorsService.ts @@ -157,9 +157,7 @@ export const applyStandingToVendorManifest = ( if (offer.Affiliation && offer.ReductionPerPositiveRank && offer.IncreasePerNegativeRank) { const title: number = inventory.Affiliations.find(x => x.Tag == offer.Affiliation)?.Title ?? 0; const factor = - 1 + - (title < 0 ? offer.IncreasePerNegativeRank * title : offer.ReductionPerPositiveRank * title) * - -1; + 1 + (title < 0 ? offer.IncreasePerNegativeRank : offer.ReductionPerPositiveRank) * title * -1; //console.log(offer.Affiliation, title, factor); if (factor) { offer = { ...offer };