change uppercase method

Signed-off-by: Ainhoa Larumbe <ainhoaL@users.noreply.github.com>
This commit is contained in:
Ainhoa Larumbe
2021-11-22 12:42:22 +00:00
parent e5bff80f78
commit 4167f6ed7e
@@ -82,7 +82,7 @@ export class DefaultCatalogCollator implements DocumentCollator {
}
private isUserEntity(entity: Entity): entity is UserEntity {
return entity.kind.toUpperCase() === 'USER';
return entity.kind.toLocaleUpperCase('en-US') === 'USER';
}
private getDocumentText(entity: Entity): string {