mirror of
https://github.com/n8n-io/n8n.git
synced 2024-12-24 20:24:05 -08:00
fix(Trello Node): Remove GET request body (#8715)
This commit is contained in:
parent
8a88d15684
commit
8c4a744c56
|
@ -28,6 +28,10 @@ export async function apiRequest(
|
||||||
json: true,
|
json: true,
|
||||||
};
|
};
|
||||||
|
|
||||||
|
if (method === 'GET') {
|
||||||
|
delete options.body;
|
||||||
|
}
|
||||||
|
|
||||||
return await this.helpers.requestWithAuthentication.call(this, 'trelloApi', options);
|
return await this.helpers.requestWithAuthentication.call(this, 'trelloApi', options);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue