fix: multiply standing cost by purchase quantity #1948

Merged
Sainan merged 1 commits from standing-fix into main 2025-05-01 13:54:28 -07:00

View File

@ -223,10 +223,10 @@ export const handlePurchase = async (
purchaseResponse.Standing = [ purchaseResponse.Standing = [
{ {
Tag: syndicateTag, Tag: syndicateTag,
Standing: favour.standingCost Standing: favour.standingCost * purchaseRequest.PurchaseParams.Quantity
} }
]; ];
affiliation.Standing -= favour.standingCost; affiliation.Standing -= favour.standingCost * purchaseRequest.PurchaseParams.Quantity;
} }
} }
} }