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