This commit is contained in:
Miłosz Szewczak 2020-04-11 13:36:26 +02:00 committed by GitHub
parent 49b6b8a467
commit bfc8186578
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1012,7 +1012,7 @@ export class Mattermost implements INodeType {
// If it does not have any items set remove it // If it does not have any items set remove it
delete attachment.fields; delete attachment.fields;
} }
} };
if (attachment.actions !== undefined) { if (attachment.actions !== undefined) {
if (attachment.actions.item !== undefined) { if (attachment.actions.item !== undefined) {
// Move the field-content up // Move the field-content up
@ -1022,7 +1022,7 @@ export class Mattermost implements INodeType {
// If it does not have any items set remove it // If it does not have any items set remove it
delete attachment.actions; delete attachment.actions;
} }
} };
} }
const util = require('util'); const util = require('util');
console.log('&&&&'); console.log('&&&&');