forked from OpenWF/SpaceNinjaServer
fix typo in split()
This commit is contained in:
parent
2dfb36018f
commit
af7df53799
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user