fix(Trello Node): Remove GET request body (#8715)

This commit is contained in:
feelgood-interface 2024-02-22 15:44:06 +01:00 committed by GitHub
parent 8a88d15684
commit 8c4a744c56
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -28,6 +28,10 @@ export async function apiRequest(
json: true,
};
if (method === 'GET') {
delete options.body;
}
return await this.helpers.requestWithAuthentication.call(this, 'trelloApi', options);
}