Merge branch 'main' of github.com:jef/nvidia-snatcher into main

This commit is contained in:
Jef LeCompte
2020-09-23 23:49:13 -04:00
4 changed files with 4 additions and 0 deletions
+1
View File
@@ -88,6 +88,7 @@ const notifications = {
playSound: envOrString(process.env.PLAY_SOUND),
pushBulletApiKey: envOrString(process.env.PUSHBULLET),
pushover: {
priority: envOrString(process.env.PUSHOVER_PRIORITY),
token: envOrString(process.env.PUSHOVER_TOKEN),
username: envOrString(process.env.PUSHOVER_USER)
},
+1
View File
@@ -12,6 +12,7 @@ const push = new Push({
export function sendPushoverNotification(link: Link, store: Store) {
const message = {
message: link.cartUrl ? link.cartUrl : link.url,
priority: pushover.priority,
title: Print.inStock(link, store)
};