mirror of
https://github.com/n8n-io/n8n.git
synced 2025-01-13 05:47:31 -08:00
👕 Fix lint issue
This commit is contained in:
parent
ae4aa112f3
commit
48c68a30ad
|
@ -217,7 +217,7 @@ export class TypeformTrigger implements INodeType {
|
||||||
// Create a dictionary to get the field title by its ID
|
// Create a dictionary to get the field title by its ID
|
||||||
const defintitionsById: { [key: string]: string; } = {};
|
const defintitionsById: { [key: string]: string; } = {};
|
||||||
for (const field of definition.fields) {
|
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
|
// Convert the answers to key -> value pair
|
||||||
|
|
Loading…
Reference in a new issue