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/zulip/index.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/zulip/index.js')
-rw-r--r-- | recipes/zulip/index.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/recipes/zulip/index.js b/recipes/zulip/index.js index 5854600..8bad3cf 100644 --- a/recipes/zulip/index.js +++ b/recipes/zulip/index.js | |||
@@ -12,8 +12,8 @@ module.exports = Ferdi => class Zulip extends Ferdi { | |||
12 | const data = await resp.json(); | 12 | const data = await resp.json(); |
13 | 13 | ||
14 | return Object.hasOwnProperty.call(data, 'realm_uri'); | 14 | return Object.hasOwnProperty.call(data, 'realm_uri'); |
15 | } catch (err) { | 15 | } catch (error) { |
16 | console.error(err); | 16 | console.error(error); |
17 | } | 17 | } |
18 | 18 | ||
19 | return false; | 19 | return false; |