aboutsummaryrefslogtreecommitdiffstats
path: root/app/Controllers/Http/RecipeController.js
diff options
context:
space:
mode:
Diffstat (limited to 'app/Controllers/Http/RecipeController.js')
-rw-r--r--app/Controllers/Http/RecipeController.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/Controllers/Http/RecipeController.js b/app/Controllers/Http/RecipeController.js
index 4fad74e..cbdddaf 100644
--- a/app/Controllers/Http/RecipeController.js
+++ b/app/Controllers/Http/RecipeController.js
@@ -136,7 +136,7 @@ class RecipeController {
136 // Get results 136 // Get results
137 let results; 137 let results;
138 138
139 if (needle === 'ferdi:custom') { 139 if (needle === 'ferdium:custom') {
140 const dbResults = (await Recipe.all()).toJSON(); 140 const dbResults = (await Recipe.all()).toJSON();
141 results = dbResults.map((recipe) => ({ 141 results = dbResults.map((recipe) => ({
142 id: recipe.recipeId, 142 id: recipe.recipeId,