[READ-ONLY] Mirror of https://github.com/FoxxMD/komodo-utilities. Small utilities to enhance Komodo
gotify komodo
0

Configure Feed

Select the types of activity you want to include in your feed.

feat(gotify): Add logging for final title-message

FoxxMD (Nov 5, 2024, 1:00 PM EST) eb74bf0a 5a41f895

+7 -2
+7 -2
gotify/main.ts
··· 86 86 break; 87 87 } 88 88 89 + 90 + const titleStr = title.join(' '); 91 + const messageStr = message.length > 0 ? message.join(' ') : ''; 92 + console.log(`${titleStr}${messageStr === '' ? '(No Message)' : ` => ${messageStr}`}`); 93 + 89 94 await gotify({ 90 95 server: GOTIFY_URL, 91 96 app: GOTIFY_API_KEY, 92 - title: title.join(' '), 93 - message: message.length > 0 ? message.join(' ') : '', 97 + title: titleStr, 98 + message: messageStr, 94 99 priority, 95 100 }); 96 101 }