diff options
author | Markus Hatvan <markus_hatvan@aon.at> | 2021-10-05 17:04:09 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-10-05 17:04:09 +0200 |
commit | d3841b766f9d37d557646003899f67525c5f755f (patch) | |
tree | 1bcab990c94f2b05678b7a83ffebe08298500f0b /recipes/pleroma/webview.js | |
parent | chore: repo maintenance (#732) (diff) | |
download | ferdium-recipes-d3841b766f9d37d557646003899f67525c5f755f.tar.gz ferdium-recipes-d3841b766f9d37d557646003899f67525c5f755f.tar.zst ferdium-recipes-d3841b766f9d37d557646003899f67525c5f755f.zip |
chore: add eslint-plugin-unicorn (#733)
Diffstat (limited to 'recipes/pleroma/webview.js')
-rw-r--r-- | recipes/pleroma/webview.js | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/recipes/pleroma/webview.js b/recipes/pleroma/webview.js index 2ba184e..c7a6530 100644 --- a/recipes/pleroma/webview.js +++ b/recipes/pleroma/webview.js | |||
@@ -15,8 +15,8 @@ const getInstanceConfig = async () => { | |||
15 | ); | 15 | ); |
16 | const pleromaFeConfig = frontendConfig.pleroma_fe || {}; | 16 | const pleromaFeConfig = frontendConfig.pleroma_fe || {}; |
17 | return { ...staticConfig, ...pleromaFeConfig }; | 17 | return { ...staticConfig, ...pleromaFeConfig }; |
18 | } catch (e) { | 18 | } catch (error) { |
19 | console.log('Failed to load dynamic frontend configuration', e); | 19 | console.log('Failed to load dynamic frontend configuration', error); |
20 | return staticConfig; | 20 | return staticConfig; |
21 | } | 21 | } |
22 | }; | 22 | }; |
@@ -161,8 +161,8 @@ module.exports = Ferdi => { | |||
161 | } | 161 | } |
162 | }); | 162 | }); |
163 | }, | 163 | }, |
164 | e => { | 164 | error => { |
165 | console.log('Failed to load instance logo', e); | 165 | console.log('Failed to load instance logo', error); |
166 | Ferdi.loop(getMessages); | 166 | Ferdi.loop(getMessages); |
167 | }, | 167 | }, |
168 | ); | 168 | ); |