feat: implement CreditBundle purchases #989

Merged
OrdisPrime merged 5 commits from neon/SpaceNinjaServer:credit-bundles into main 2025-02-23 03:53:57 -08:00
Showing only changes of commit af7df53799 - Show all commits

View File

@ -334,7 +334,7 @@ const handleCreditBundlePurchase = async (
typeName: string,
inventory: TInventoryDatabaseDocument
): Promise<IPurchaseResponse> => {
const bundleName = typeName.split(typeName).pop();
const bundleName = typeName.split("/").pop();
let creditsAmount = 0;
// CreditBundleA = 50.000 credits or CreditBundleC = 175.000 credits