mirror of
https://github.com/immich-app/immich.git
synced 2025-12-25 01:11:43 +03:00
fix(server): only calculate quota usage for internal assets (#6556)
only calculate usage for internal assets
This commit is contained in:
@@ -162,6 +162,7 @@ SET
|
||||
LEFT JOIN "exif" "exif" ON "exif"."assetId" = "assets"."id"
|
||||
WHERE
|
||||
"assets"."ownerId" = users.id
|
||||
AND NOT "assets"."isExternal"
|
||||
),
|
||||
"updatedAt" = CURRENT_TIMESTAMP
|
||||
WHERE
|
||||
|
||||
Reference in New Issue
Block a user