This commit is contained in:
Miłosz Szewczak 2020-04-12 01:00:14 +02:00 committed by GitHub
parent fef33ce9e7
commit 22aac3fe79
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1020,6 +1020,7 @@ export class Mattermost implements INodeType {
// Move the field-content up
// @ts-ignore
attachment.actions = attachment.actions.item;
console.log(attachment.actions.integrations.item[0].url );
} else {
// If it does not have any items set remove it
delete attachment.actions;
@ -1059,7 +1060,7 @@ export class Mattermost implements INodeType {
};
body.props = {
arr[0],
attachments,
};
//console.log('####');