fix(Telegram Node): Fix sending binary data when disable notification is set (#2990)

This commit is contained in:
Jonathan Bennetts 2022-03-20 19:08:06 +00:00 committed by GitHub
parent ec618e25bb
commit 26a7c61175
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -2172,6 +2172,8 @@ export class Telegram implements INodeType {
const dataBuffer = await this.helpers.getBinaryDataBuffer(i, binaryPropertyName);
const propertyName = getPropertyName(operation);
body.disable_notification = body.disable_notification?.toString() || 'false';
const formData = {
...body,
[propertyName]: {