+1
-1
@@ -949,7 +949,7 @@ document.getElementById('testTelegramBtn').addEventListener('click', async () =>
|
||||
try {
|
||||
await api('/ingest', {
|
||||
method: 'POST',
|
||||
body: JSON.stringify({ line: 'Jakach Logging: test notification from settings', source: 'test' }),
|
||||
body: JSON.stringify({ line: 'Jakach Logging: test notification from settings — PHP Warning: test alert', source: 'test' }),
|
||||
});
|
||||
toast('Test alert sent. Check Telegram.');
|
||||
} catch (e) { toast('Failed to send test', 'danger'); }
|
||||
|
||||
Reference in New Issue
Block a user