Skip to content

Commit

Permalink
🐛 Fix AWS lambda and SNS problem with signature (#1361)
Browse files Browse the repository at this point in the history
  • Loading branch information
krynble authored Jan 20, 2021
1 parent 13795ea commit 5a6b191
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/nodes-base/nodes/Aws/GenericFunctions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ export async function awsApiRequest(this: IHookFunctions | IExecuteFunctions | I
const endpoint = new URL(getEndpointForService(service, credentials) + path);

// Sign AWS API request with the user credentials
const signOpts = { headers: headers || {}, host: endpoint.host, method, path: endpoint.pathname, body };
const signOpts = { headers: headers || {}, host: endpoint.host, method, path, body };
sign(signOpts, { accessKeyId: `${credentials.accessKeyId}`.trim(), secretAccessKey: `${credentials.secretAccessKey}`.trim() });


Expand Down

0 comments on commit 5a6b191

Please sign in to comment.