mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 18:12:04 +00:00
🐛 Fixes issue handling response when json property is not set (#2318)
Also fixes an small bug reading the keyCondtionExpression parameter
This commit is contained in:
@@ -301,7 +301,7 @@ async function parseRequestObject(requestObject: IDataObject) {
|
||||
});
|
||||
}
|
||||
}
|
||||
if (requestObject.json === false) {
|
||||
if (requestObject.json === false || requestObject.json === undefined) {
|
||||
// Prevent json parsing
|
||||
axiosConfig.transformResponse = (res) => res;
|
||||
}
|
||||
|
||||
@@ -312,7 +312,7 @@ export class AwsDynamoDB implements INodeType {
|
||||
if (scan === true) {
|
||||
body['FilterExpression'] = this.getNodeParameter('filterExpression', i) as string;
|
||||
} else {
|
||||
body['KeyConditionExpression'] = this.getNodeParameter('KeyConditionExpression', i) as string;
|
||||
body['KeyConditionExpression'] = this.getNodeParameter('keyConditionExpression', i) as string;
|
||||
}
|
||||
|
||||
const {
|
||||
|
||||
Reference in New Issue
Block a user