diff options
Diffstat (limited to 'recipes/mattermost/index.js')
-rw-r--r-- | recipes/mattermost/index.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/recipes/mattermost/index.js b/recipes/mattermost/index.js index 290cdbc..3a9a791 100644 --- a/recipes/mattermost/index.js +++ b/recipes/mattermost/index.js | |||
@@ -8,8 +8,8 @@ module.exports = Ferdi => class Mattermost extends Ferdi { | |||
8 | }, | 8 | }, |
9 | }); | 9 | }); |
10 | return resp.status.toString().startsWith('2'); | 10 | return resp.status.toString().startsWith('2'); |
11 | } catch (err) { | 11 | } catch (error) { |
12 | console.error(err); | 12 | console.error(error); |
13 | } | 13 | } |
14 | 14 | ||
15 | return false; | 15 | return false; |