aboutsummaryrefslogtreecommitdiffstats
path: root/app
diff options
context:
space:
mode:
Diffstat (limited to 'app')
-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 1905886..880f0c3 100644
--- a/app/Controllers/Http/RecipeController.js
+++ b/app/Controllers/Http/RecipeController.js
@@ -140,7 +140,7 @@ class RecipeController {
140 let results; 140 let results;
141 141
142 if (needle === 'ferdi:custom') { 142 if (needle === 'ferdi:custom') {
143 const dbResults = (await Recipe.all().fetch()).toJSON(); 143 const dbResults = (await Recipe.all()).toJSON();
144 results = dbResults.map((recipe) => ({ 144 results = dbResults.map((recipe) => ({
145 id: recipe.recipeId, 145 id: recipe.recipeId,
146 name: recipe.name, 146 name: recipe.name,