mirror of
https://github.com/n8n-io/n8n.git
synced 2025-01-11 04:47:29 -08: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:
parent
71d7ed1164
commit
e296b02185
|
@ -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 {
|
||||||
|
|
Loading…
Reference in a new issue