feat(web) Remove fetching fonts from GoogleFonts (#703)

This commit is contained in:
Alex
2022-09-16 17:23:31 -05:00
committed by GitHub
parent 824da6a07b
commit 75c2067836
6 changed files with 15 additions and 4 deletions
@@ -171,6 +171,7 @@ export class AssetRepository implements IAssetRepository {
.createQueryBuilder('asset')
.where('asset.userId = :userId', { userId: userId })
.andWhere('asset.resizePath is not NULL')
.andWhere('asset.type = :type', { type: AssetType.IMAGE })
.leftJoinAndSelect('asset.exifInfo', 'exifInfo')
.orderBy('asset.createdAt', 'DESC');
@@ -225,6 +226,7 @@ export class AssetRepository implements IAssetRepository {
where: {
userId: userId,
deviceId: deviceId,
type: AssetType.IMAGE,
},
select: ['deviceAssetId'],
});