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