diff options
Diffstat (limited to 'src/internal-server/app/Controllers/Http/RecipeController.js')
-rw-r--r-- | src/internal-server/app/Controllers/Http/RecipeController.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/internal-server/app/Controllers/Http/RecipeController.js b/src/internal-server/app/Controllers/Http/RecipeController.js index df889c7f4..1a7595a9d 100644 --- a/src/internal-server/app/Controllers/Http/RecipeController.js +++ b/src/internal-server/app/Controllers/Http/RecipeController.js | |||
@@ -8,8 +8,9 @@ const Env = use('Env'); | |||
8 | const fetch = require('node-fetch'); | 8 | const fetch = require('node-fetch'); |
9 | const debug = require('debug')('Ferdi:internalServer:RecipeController'); | 9 | const debug = require('debug')('Ferdi:internalServer:RecipeController'); |
10 | const { LIVE_FERDI_API } = require('../../../../config'); | 10 | const { LIVE_FERDI_API } = require('../../../../config'); |
11 | const { API_VERSION } = require('../../../../environment'); | ||
11 | 12 | ||
12 | const RECIPES_URL = `${LIVE_FERDI_API}/v1/recipes`; | 13 | const RECIPES_URL = `${LIVE_FERDI_API}/${API_VERSION}/recipes`; |
13 | 14 | ||
14 | class RecipeController { | 15 | class RecipeController { |
15 | // List official and custom recipes | 16 | // List official and custom recipes |