fix: handle possibly undefined msg from returning()
This commit is contained in:
@@ -102,6 +102,8 @@ async function persistAndPublish(
|
|||||||
})
|
})
|
||||||
.returning();
|
.returning();
|
||||||
|
|
||||||
|
if (!msg) return;
|
||||||
|
|
||||||
const event = {
|
const event = {
|
||||||
type: 'irc_event',
|
type: 'irc_event',
|
||||||
eventType: data.type,
|
eventType: data.type,
|
||||||
|
|||||||
Reference in New Issue
Block a user