Skip to content

Commit

Permalink
⚡ Typeform Trigger translates double curly brackets square brackets (n…
Browse files Browse the repository at this point in the history
  • Loading branch information
krynble authored Jan 14, 2021
1 parent 5a8ef55 commit e5bbf71
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/nodes-base/nodes/Typeform/TypeformTrigger.node.ts
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,7 @@ export class TypeformTrigger implements INodeType {
// Create a dictionary to get the field title by its ID
const defintitionsById: { [key: string]: string; } = {};
for (const field of definition.fields) {
defintitionsById[field.id] = field.title;
defintitionsById[field.id] = field.title.replace(/\{\{/g, "[").replace(/\}\}/g, "]");
}

// Convert the answers to key -> value pair
Expand Down

0 comments on commit e5bbf71

Please sign in to comment.