You've already forked immich
							
							
				mirror of
				https://github.com/immich-app/immich.git
				synced 2025-10-31 00:18:28 +02:00 
			
		
		
		
	fix(server): use updated AssetEntity property in getting server info query (#1797)
This commit is contained in:
		| @@ -46,11 +46,11 @@ export class ServerInfoService { | |||||||
|       .createQueryBuilder('a') |       .createQueryBuilder('a') | ||||||
|       .select('COUNT(a.id)', 'assetCount') |       .select('COUNT(a.id)', 'assetCount') | ||||||
|       .addSelect('SUM(ei.fileSizeInByte)', 'totalSizeInBytes') |       .addSelect('SUM(ei.fileSizeInByte)', 'totalSizeInBytes') | ||||||
|       .addSelect('a."userId"') |       .addSelect('a."ownerId"') | ||||||
|       .addSelect('a.type', 'assetType') |       .addSelect('a.type', 'assetType') | ||||||
|       .where('a.isVisible = true') |       .where('a.isVisible = true') | ||||||
|       .leftJoin('a.exifInfo', 'ei') |       .leftJoin('a.exifInfo', 'ei') | ||||||
|       .groupBy('a."userId"') |       .groupBy('a."ownerId"') | ||||||
|       .addGroupBy('a.type') |       .addGroupBy('a.type') | ||||||
|       .getRawMany(); |       .getRawMany(); | ||||||
|  |  | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user