Update send zulip
This commit is contained in:
parent
c3c5914651
commit
16bdd6d586
|
|
@ -671,13 +671,16 @@ export class WebSocketIo {
|
|||
console.error('Error sending mail:', error)
|
||||
}
|
||||
try {
|
||||
const contentZulip =
|
||||
`\n\n---\n**[${scenarioName || 'DPELP'}] - ${stationName} - ${dataFormat}**\n\n` +
|
||||
zulipMess
|
||||
await sendMessageToZulip(
|
||||
'stream',
|
||||
streamZulip || 'ATC_Report',
|
||||
topicZulip,
|
||||
`\n\n---\n**[${scenarioName || 'DPELP'}] - ${stationName} - ${dataFormat}**\n\n` +
|
||||
zulipMess
|
||||
contentZulip
|
||||
)
|
||||
await sendMessageToZulip('stream', 'ATC_Report', station.name, contentZulip)
|
||||
} catch (error) {
|
||||
console.error('Error sending zulip message:', error)
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue