From 175eb06dcaa975ea999aa105275acaef4ca82df3 Mon Sep 17 00:00:00 2001 From: Julien Catania Date: Fri, 24 Nov 2023 10:07:28 +0100 Subject: [PATCH] :alien: nothing importante --- src/services/notifier/providers/DiscordNotifierProvider.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/services/notifier/providers/DiscordNotifierProvider.js b/src/services/notifier/providers/DiscordNotifierProvider.js index 06fc1cf..25e7f7b 100644 --- a/src/services/notifier/providers/DiscordNotifierProvider.js +++ b/src/services/notifier/providers/DiscordNotifierProvider.js @@ -21,7 +21,7 @@ const notify = (name, status, notifier, desc) => { hook.setUsername('eMusk'); hook.send(message) - .catch((r) => error(r)); + .catch(error); }; /** @@ -38,7 +38,7 @@ const hello = (name, notifier) => { hook.setUsername('eMusk'); hook.send(message) - .catch((r) => error(r)); + .catch(error); }; /**