mirror of
https://github.com/n8n-io/n8n.git
synced 2026-06-01 17:27:14 +02:00
add5
This commit is contained in:
parent
4d873da53d
commit
49b6b8a467
|
|
@ -1013,6 +1013,16 @@ export class Mattermost implements INodeType {
|
|||
delete attachment.fields;
|
||||
}
|
||||
}
|
||||
if (attachment.actions !== undefined) {
|
||||
if (attachment.actions.item !== undefined) {
|
||||
// Move the field-content up
|
||||
// @ts-ignore
|
||||
attachment.actions = attachment.actions.item;
|
||||
} else {
|
||||
// If it does not have any items set remove it
|
||||
delete attachment.actions;
|
||||
}
|
||||
}
|
||||
}
|
||||
const util = require('util');
|
||||
console.log('&&&&');
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user