From b1dba9e6d77ccf187f20fe6433af0031b10ee8c7 Mon Sep 17 00:00:00 2001 From: Jake Kasper Date: Mon, 25 Aug 2025 08:33:48 -0400 Subject: [PATCH] changes --- backend/src/routes/products.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/src/routes/products.js b/backend/src/routes/products.js index 9b5b61a..91f972f 100644 --- a/backend/src/routes/products.js +++ b/backend/src/routes/products.js @@ -119,7 +119,7 @@ router.get('/', async (req, res, next) => { customBrand: product.custom_brand, categoryId: product.category_id, categoryName: product.custom_category_name || product.category_name, - productType: product.custom_product_type || product.base_product_type, + productType: product.custom_product_type || product.base_product_type || null, customProductType: product.custom_product_type, activeIngredients: product.custom_active_ingredients, customActiveIngredients: product.custom_active_ingredients,