consolelog add

This commit is contained in:
Miłosz Szewczak 2020-04-11 07:57:34 +02:00 committed by GitHub
parent 67ce56b572
commit 59421ebe4d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -875,7 +875,7 @@ export class Mattermost implements INodeType {
body.message = this.getNodeParameter('message', i) as string;
const attachments = this.getNodeParameter('attachments', i, []) as unknown as IAttachment[];
console.log(attachments);
// The node does save the fields data differently than the API
// expects so fix the data befre we send the request
for (const attachment of attachments) {