From 210131ca184c3aa043371857c022aa1aa149efbf Mon Sep 17 00:00:00 2001 From: Aditya Mangalampalli Date: Fri, 15 Apr 2022 02:00:25 -0700 Subject: Matched casing for almost all replacements --- src/internal-server/app/Controllers/Http/RecipeController.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/internal-server/app/Controllers/Http/RecipeController.js') diff --git a/src/internal-server/app/Controllers/Http/RecipeController.js b/src/internal-server/app/Controllers/Http/RecipeController.js index 37a62e2fa..474ffadb4 100644 --- a/src/internal-server/app/Controllers/Http/RecipeController.js +++ b/src/internal-server/app/Controllers/Http/RecipeController.js @@ -4,11 +4,11 @@ const { validateAll } = use('Validator'); const Env = use('Env'); const fetch = require('node-fetch'); -const debug = require('debug')('Ferdi:internalServer:RecipeController'); -const { LIVE_FERDI_API } = require('../../../../config'); +const debug = require('debug')('Ferdium:internalServer:RecipeController'); +const { LIVE_FERDIUM_API } = require('../../../../config'); const { API_VERSION } = require('../../../../environment-remote'); -const RECIPES_URL = `${LIVE_FERDI_API}/${API_VERSION}/recipes`; +const RECIPES_URL = `${LIVE_FERDIUM_API}/${API_VERSION}/recipes`; class RecipeController { // List official and custom recipes @@ -47,7 +47,7 @@ class RecipeController { // Get results let results; - if (needle === 'ferdi:custom') { + if (needle === 'ferdium:custom') { const allRecipes = await Recipe.all(); const dbResults = allRecipes.toJSON(); results = dbResults.map(recipe => ({ -- cgit v1.2.3-70-g09d2