fix: multiply standing cost by purchase quantity (#1948)
Some checks failed
Build / build (push) Has been cancelled
Build Docker image / docker (push) Has been cancelled

Closes #1945

Reviewed-on: #1948
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-05-01 13:54:27 -07:00 committed by Sainan
parent f7906c91e3
commit ec9dc2aa5f

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;
} }
} }
} }