mirror of
https://github.com/opelly27/streetmerchant.git
synced 2026-05-20 11:07:43 +00:00
fix(notification): discord false triggers (#346)
This commit is contained in:
@@ -38,7 +38,7 @@ export function sendNotification(link: Link, store: Store) {
|
||||
sendDesktopNotification(link, store);
|
||||
}
|
||||
|
||||
if (notifications.discord.webHookUrl) {
|
||||
if (notifications.discord.webHookUrl.length > 0) {
|
||||
Logger.debug('↗ sending discord message');
|
||||
sendDiscordMessage(link, store);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user