mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 10:02:05 +00:00
* Added 'M' type to decode attribute for dynamodb * Fixed bug with return all. Headers from the previous iteration were being passed causing an invalid signature error
This commit is contained in:
@@ -66,7 +66,8 @@ export async function awsApiRequestAllItems(
|
||||
let responseData;
|
||||
|
||||
do {
|
||||
responseData = await awsApiRequest.call(this, service, method, path, body, headers);
|
||||
const originalHeaders = Object.assign({}, headers); //The awsapirequest function adds the hmac signature to the headers, if we pass the modified headers back in on the next call it will fail with invalid signature
|
||||
responseData = await awsApiRequest.call(this, service, method, path, body, originalHeaders);
|
||||
if (responseData.LastEvaluatedKey) {
|
||||
body!.ExclusiveStartKey = responseData.LastEvaluatedKey;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user