mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-18 02:21:13 +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
|
// Prevent json parsing
|
||||||
axiosConfig.transformResponse = (res) => res;
|
axiosConfig.transformResponse = (res) => res;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -312,7 +312,7 @@ export class AwsDynamoDB implements INodeType {
|
|||||||
if (scan === true) {
|
if (scan === true) {
|
||||||
body['FilterExpression'] = this.getNodeParameter('filterExpression', i) as string;
|
body['FilterExpression'] = this.getNodeParameter('filterExpression', i) as string;
|
||||||
} else {
|
} else {
|
||||||
body['KeyConditionExpression'] = this.getNodeParameter('KeyConditionExpression', i) as string;
|
body['KeyConditionExpression'] = this.getNodeParameter('keyConditionExpression', i) as string;
|
||||||
}
|
}
|
||||||
|
|
||||||
const {
|
const {
|
||||||
|
|||||||
Reference in New Issue
Block a user