Do not create identifier for remote object

This commit is contained in:
Charles Bochet 2024-07-25 18:39:08 +02:00
parent ce68f8ac79
commit 515bf666cf

View File

@ -55,7 +55,7 @@ export class WorkspaceSyncObjectMetadataIdentifiersService {
objectMetadataRepository: Repository<ObjectMetadataEntity>,
): Promise<ObjectMetadataEntity[]> {
return await objectMetadataRepository.find({
where: { workspaceId, isCustom: false },
where: { workspaceId, isCustom: false, isRemote: false },
relations: ['fields'],
});
}