await fetch(`https://api.pushover.net/1/messages.json?token=xxx&user=xxx&title="SCHNAPPER ALERT!"&message="${ availableItemTitle }"`, {
method: 'POST',
}).then(
() => {
myLog('sent notification successfully')
}, error => {
myLog('unable to send notification due to' + error)
}
)
24.3.2021 |