Do not create identifier for remote object
This commit is contained in:
@ -55,7 +55,7 @@ export class WorkspaceSyncObjectMetadataIdentifiersService {
|
|||||||
objectMetadataRepository: Repository<ObjectMetadataEntity>,
|
objectMetadataRepository: Repository<ObjectMetadataEntity>,
|
||||||
): Promise<ObjectMetadataEntity[]> {
|
): Promise<ObjectMetadataEntity[]> {
|
||||||
return await objectMetadataRepository.find({
|
return await objectMetadataRepository.find({
|
||||||
where: { workspaceId, isCustom: false },
|
where: { workspaceId, isCustom: false, isRemote: false },
|
||||||
relations: ['fields'],
|
relations: ['fields'],
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user