aboutsummaryrefslogtreecommitdiffstats
path: root/app/Controllers/Http/RecipeController.js
diff options
context:
space:
mode:
authorLibravatar Vijay Aravamudhan <vraravam@users.noreply.github.com>2022-04-24 12:23:44 -0500
committerLibravatar GitHub <noreply@github.com>2022-04-24 12:23:44 -0500
commit442ef142fc4bd7c430d8a1314535f03576f616f6 (patch)
tree10d8df84e8c5ba68b7dd0bf6bc1e0add6a766b63 /app/Controllers/Http/RecipeController.js
parentfix: branding on README.md (diff)
downloadferdium-server-442ef142fc4bd7c430d8a1314535f03576f616f6.tar.gz
ferdium-server-442ef142fc4bd7c430d8a1314535f03576f616f6.tar.zst
ferdium-server-442ef142fc4bd7c430d8a1314535f03576f616f6.zip
Rebranded from 'ferdi' to 'ferdium' (#4)
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,