mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 10:02:05 +00:00
feat: Create NPM node (#6177)
This commit is contained in:
committed by
GitHub
parent
80831cd7c6
commit
f3bc6f19b6
@@ -791,7 +791,7 @@ function convertN8nRequestToAxios(n8nRequest: IHttpRequestOptions): AxiosRequest
|
||||
// if there is a body and it's empty (does not have properties),
|
||||
// make sure not to send anything in it as some services fail when
|
||||
// sending GET request with empty body.
|
||||
if (typeof body === 'object' && !isObjectEmpty(body)) {
|
||||
if (typeof body === 'string' || (typeof body === 'object' && !isObjectEmpty(body))) {
|
||||
axiosRequest.data = body;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user