👕 Fix lint issue

This commit is contained in:
Jan Oberhauser 2021-01-14 17:47:09 +01:00
parent ae4aa112f3
commit 48c68a30ad

View file

@ -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.replace(/\{\{/g, "[").replace(/\}\}/g, "]");
defintitionsById[field.id] = field.title.replace(/\{\{/g, '[').replace(/\}\}/g, ']');
}
// Convert the answers to key -> value pair