mirror of
https://github.com/n8n-io/n8n.git
synced 2024-11-12 15:44:06 -08:00
parent
ea328e56cd
commit
46ccff98cf
|
@ -727,9 +727,9 @@ export class AwsSes implements INodeType {
|
||||||
const templateDataValues = (templateDataUi as IDataObject).templateDataValues as IDataObject[];
|
const templateDataValues = (templateDataUi as IDataObject).templateDataValues as IDataObject[];
|
||||||
const templateData: IDataObject = {};
|
const templateData: IDataObject = {};
|
||||||
if (templateDataValues !== undefined) {
|
if (templateDataValues !== undefined) {
|
||||||
for (const key of Object.keys(templateDataValues)) {
|
for (const templateDataValue of templateDataValues) {
|
||||||
//@ts-ignore
|
//@ts-ignore
|
||||||
templateData[key]= templateDataValues[key];
|
templateData[templateDataValue.key] = templateDataValue.value;
|
||||||
}
|
}
|
||||||
params.push(`TemplateData=${JSON.stringify(templateData)}`);
|
params.push(`TemplateData=${JSON.stringify(templateData)}`);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue