From cad8df28ea14aa222e909a5eab52160e22c0be2a Mon Sep 17 00:00:00 2001 From: vovastelmashchuk Date: Sat, 28 Sep 2024 22:54:24 +0300 Subject: [PATCH] change max recomendation --- features/cocktail/utils.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/features/cocktail/utils.js b/features/cocktail/utils.js index 36e2aef..5a10b8e 100644 --- a/features/cocktail/utils.js +++ b/features/cocktail/utils.js @@ -3,7 +3,7 @@ const Database = require('../../database/newclient'); const { getCocktailBySlug } = require("../../database/cocktail"); async function getRecommendations(cocktail) { - const maxRecommendations = 20; + const maxRecommendations = 12; const classCocktailSlugs = [ cocktail.matchesV2.class1 || [], cocktail.matchesV2.class2 || [],