mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-20 11:22:15 +00:00
refactor(core): Fix push message type inference (#12331)
This commit is contained in:
@@ -95,10 +95,10 @@ export class Subscriber {
|
||||
const metadata: LogMetadata = { msg: msgName, channel };
|
||||
|
||||
if ('command' in msg && msg.command === 'relay-execution-lifecycle-event') {
|
||||
const { args, type } = msg.payload;
|
||||
const { data, type } = msg.payload;
|
||||
msgName += ` (${type})`;
|
||||
metadata.type = type;
|
||||
metadata.executionId = args.executionId;
|
||||
if ('executionId' in data) metadata.executionId = data.executionId;
|
||||
}
|
||||
|
||||
this.logger.debug(`Received pubsub msg: ${msgName}`, metadata);
|
||||
|
||||
Reference in New Issue
Block a user