This commit is contained in:
Miłosz Szewczak 2020-04-11 08:00:50 +02:00 committed by GitHub
parent 59421ebe4d
commit bda4b73375
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);
console.dir(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) {