High performance self-hosted photo and video management solution.
TypeScript backup-toolfluttergoogle-photosgoogle-photos-alternativejavascriptmobile-appnestjsnodejsphoto-galleryphotosphotos-managementself-hostedsveltesveltekittypescriptvideos
fix(server): use updated AssetEntity property in getting server info query (#1797)
Alex5d3e8f17d197
diff --git a/server/apps/immich/src/api-v1/server-info/server-info.service.ts b/server/apps/immich/src/api-v1/server-info/server-info.service.tsindex df13f81ed2..fbbe806da1 100644--- a/server/apps/immich/src/api-v1/server-info/server-info.service.ts+++ b/server/apps/immich/src/api-v1/server-info/server-info.service.ts@@ -46,11 +46,11 @@ export class ServerInfoService {.createQueryBuilder('a').select('COUNT(a.id)', 'assetCount').addSelect('SUM(ei.fileSizeInByte)', 'totalSizeInBytes')- .addSelect('a."userId"')+ .addSelect('a."ownerId"').addSelect('a.type', 'assetType').where('a.isVisible = true').leftJoin('a.exifInfo', 'ei')- .groupBy('a."userId"')+ .groupBy('a."ownerId"').addGroupBy('a.type').getRawMany();