Remove any

This commit is contained in:
Adria Navarro 2023-10-11 13:55:35 +02:00
parent 8fa71e2e1b
commit 0720aa8b98
1 changed files with 1 additions and 1 deletions

View File

@ -577,7 +577,7 @@ export class ExternalRequest<T extends Operation> {
definition.toPrimary = linkTable.primary[0] definition.toPrimary = linkTable.primary[0]
} else { } else {
// if no foreign key specified then use the name of the field in other table // if no foreign key specified then use the name of the field in other table
definition.from = (field as any).foreignKey || table.primary[0] definition.from = field.foreignKey || table.primary[0]
definition.to = field.fieldName definition.to = field.fieldName
} }
relationships.push(definition) relationships.push(definition)