mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 10:02:05 +00:00
fix(AWS Nodes): Handle query string and body properly for AWS related requests (#4039)
This commit is contained in:
@@ -1,11 +1,5 @@
|
||||
import { URL } from 'url';
|
||||
|
||||
import { Request, sign } from 'aws4';
|
||||
|
||||
import { get } from 'lodash';
|
||||
|
||||
import { OptionsWithUri } from 'request';
|
||||
|
||||
import { parseString } from 'xml2js';
|
||||
|
||||
import {
|
||||
@@ -20,7 +14,6 @@ import {
|
||||
IHttpRequestOptions,
|
||||
JsonObject,
|
||||
NodeApiError,
|
||||
NodeOperationError,
|
||||
} from 'n8n-workflow';
|
||||
|
||||
export async function awsApiRequest(
|
||||
@@ -44,7 +37,7 @@ export async function awsApiRequest(
|
||||
query,
|
||||
},
|
||||
method,
|
||||
body: JSON.stringify(body),
|
||||
body,
|
||||
url: '',
|
||||
headers,
|
||||
//region: credentials?.region as string,
|
||||
|
||||
Reference in New Issue
Block a user