mirror of
https://github.com/n8n-io/n8n.git
synced 2025-01-11 21:07:28 -08:00
fix(Telegram Node): Fix sending binary data when disable notification is set (#2990)
This commit is contained in:
parent
ec618e25bb
commit
26a7c61175
|
@ -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]: {
|
||||
|
|
Loading…
Reference in a new issue