From 0b1da5c95665ea463fc91afdcad7fbb551aff96d Mon Sep 17 00:00:00 2001 From: CWX Date: Thu, 23 Jan 2025 14:50:13 +0000 Subject: [PATCH] fix switch on wrong type --- Libraries/Core/Controllers/CustomizationController.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Libraries/Core/Controllers/CustomizationController.cs b/Libraries/Core/Controllers/CustomizationController.cs index 4d98bdb6..eab2c06f 100644 --- a/Libraries/Core/Controllers/CustomizationController.cs +++ b/Libraries/Core/Controllers/CustomizationController.cs @@ -285,7 +285,7 @@ public class CustomizationController( { foreach (var customisation in request.Customizations!) { - switch (customisation.Id) + switch (customisation.Type) { case "dogTag": pmcData.Customization!.DogTag = customisation.Id;