diff --git a/project/src/controllers/CustomizationController.ts b/project/src/controllers/CustomizationController.ts index 8d3e7ed7..af40fee5 100644 --- a/project/src/controllers/CustomizationController.ts +++ b/project/src/controllers/CustomizationController.ts @@ -89,7 +89,7 @@ export class CustomizationController } const suitId = traderOffer.suiteId; - if (this.outfitAlreadyPurchased(sessionId, suitId)) + if (this.outfitAlreadyPurchased(suitId, sessionId)) { const suitDetails = db.templates.customization[suitId]; this.logger.error(this.localisationService.getText("customisation-item_already_purchased", {itemId: suitDetails._id, itemName: suitDetails._name}));