mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 18:12:04 +00:00
🐛 Fix bug ApiTemplate image create bug
This commit is contained in:
@@ -452,7 +452,10 @@ export class ApiTemplateIo implements INodeType {
|
|||||||
try {
|
try {
|
||||||
const jsonParameters = this.getNodeParameter('jsonParameters', i) as boolean;
|
const jsonParameters = this.getNodeParameter('jsonParameters', i) as boolean;
|
||||||
|
|
||||||
const options = this.getNodeParameter('options', i) as IDataObject;
|
let options: IDataObject = {};
|
||||||
|
if (download) {
|
||||||
|
options = this.getNodeParameter('options', i) as IDataObject;
|
||||||
|
}
|
||||||
|
|
||||||
const qs = {
|
const qs = {
|
||||||
template_id: this.getNodeParameter('imageTemplateId', i),
|
template_id: this.getNodeParameter('imageTemplateId', i),
|
||||||
|
|||||||
Reference in New Issue
Block a user