diff options
author | Vijay A <avijayr@protonmail.com> | 2021-05-19 11:28:09 +0530 |
---|---|---|
committer | Vijay Raghavan Aravamudhan <vraravam@users.noreply.github.com> | 2021-05-19 12:03:29 +0530 |
commit | 9a93be2752ec81ed1f634adbb63aef2d1c5272de (patch) | |
tree | 53cacbc4670ba017a7533ca9d378d98dea3bf629 /app/Controllers/Http/StaticController.js | |
parent | Added husky pre-commit hook to run linter (diff) | |
download | ferdium-server-9a93be2752ec81ed1f634adbb63aef2d1c5272de.tar.gz ferdium-server-9a93be2752ec81ed1f634adbb63aef2d1c5272de.tar.zst ferdium-server-9a93be2752ec81ed1f634adbb63aef2d1c5272de.zip |
Applied linter fixes.
Diffstat (limited to 'app/Controllers/Http/StaticController.js')
-rw-r--r-- | app/Controllers/Http/StaticController.js | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/app/Controllers/Http/StaticController.js b/app/Controllers/Http/StaticController.js index d1a1179..114e369 100644 --- a/app/Controllers/Http/StaticController.js +++ b/app/Controllers/Http/StaticController.js | |||
@@ -34,7 +34,6 @@ class StaticController { | |||
34 | defaultTrialPlan: 'franz-pro-yearly', | 34 | defaultTrialPlan: 'franz-pro-yearly', |
35 | subscribeURL: 'https://getferdi.com', | 35 | subscribeURL: 'https://getferdi.com', |
36 | planSelectionURL: 'https://getferdi.com', | 36 | planSelectionURL: 'https://getferdi.com', |
37 | isMagicBarEnabled: true, | ||
38 | hasInlineCheckout: true, | 37 | hasInlineCheckout: true, |
39 | isPlanSelectionEnabled: false, | 38 | isPlanSelectionEnabled: false, |
40 | isTrialStatusBarEnabled: false, | 39 | isTrialStatusBarEnabled: false, |
@@ -101,9 +100,11 @@ class StaticController { | |||
101 | }) { | 100 | }) { |
102 | return response.send( | 101 | return response.send( |
103 | fs | 102 | fs |
104 | .readJsonSync(path.join( | 103 | .readJsonSync(path.join( |
105 | Helpers.appRoot(), "officialrecipes", "recipes", "all.json")) | 104 | Helpers.appRoot(), 'officialrecipes', 'recipes', 'all.json', |
106 | .filter((recipe) => recipe.featured)); | 105 | )) |
106 | .filter((recipe) => recipe.featured), | ||
107 | ); | ||
107 | } | 108 | } |
108 | 109 | ||
109 | // Show announcements | 110 | // Show announcements |