mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2026-10-12 02:57:07 +02:00
🐛 Fix bug ApiTemplate pdf create bug
This commit is contained in:
1 parent
4996939268
commit
dd01ceaca8
1 file changed
+4
-1
@@ -532,7 +532,10 @@ export class ApiTemplateIo implements INodeType {
|
||||
try {
|
||||
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 = {
|
||||
template_id: this.getNodeParameter('pdfTemplateId', i),
|
||||
|
||||
Reference in new issue
Block a user