diff options
author | 2021-10-15 09:48:06 +0200 | |
---|---|---|
committer | 2021-10-15 09:48:06 +0200 | |
commit | 14d2364fc69e0222133115c55a36286986006098 (patch) | |
tree | 9e9b3c41ef742bbe87ca1632b292c67043051957 /src/internal-server/app/Controllers/Http/RecipeController.js | |
parent | 5.6.3-nightly.34 [skip ci] (diff) | |
download | ferdium-app-14d2364fc69e0222133115c55a36286986006098.tar.gz ferdium-app-14d2364fc69e0222133115c55a36286986006098.tar.zst ferdium-app-14d2364fc69e0222133115c55a36286986006098.zip |
chore: update eslint setup (#2074)
Diffstat (limited to 'src/internal-server/app/Controllers/Http/RecipeController.js')
-rw-r--r-- | src/internal-server/app/Controllers/Http/RecipeController.js | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/internal-server/app/Controllers/Http/RecipeController.js b/src/internal-server/app/Controllers/Http/RecipeController.js index d44839db1..1b0ac7035 100644 --- a/src/internal-server/app/Controllers/Http/RecipeController.js +++ b/src/internal-server/app/Controllers/Http/RecipeController.js | |||
@@ -56,7 +56,6 @@ class RecipeController { | |||
56 | let remoteResults = []; | 56 | let remoteResults = []; |
57 | // eslint-disable-next-line eqeqeq | 57 | // eslint-disable-next-line eqeqeq |
58 | if (Env.get('CONNECT_WITH_FRANZ') == 'true') { | 58 | if (Env.get('CONNECT_WITH_FRANZ') == 'true') { |
59 | // eslint-disable-line eqeqeq | ||
60 | remoteResults = JSON.parse( | 59 | remoteResults = JSON.parse( |
61 | await ( | 60 | await ( |
62 | await fetch( | 61 | await fetch( |
@@ -112,7 +111,6 @@ class RecipeController { | |||
112 | } | 111 | } |
113 | // eslint-disable-next-line eqeqeq | 112 | // eslint-disable-next-line eqeqeq |
114 | if (Env.get('CONNECT_WITH_FRANZ') == 'true') { | 113 | if (Env.get('CONNECT_WITH_FRANZ') == 'true') { |
115 | // eslint-disable-line eqeqeq | ||
116 | return response.redirect(`${RECIPES_URL}/download/${service}`); | 114 | return response.redirect(`${RECIPES_URL}/download/${service}`); |
117 | } | 115 | } |
118 | return response.status(400).send({ | 116 | return response.status(400).send({ |