fix(server): do not delete offline assets (#24355)

* do not delete isOffline assets

* update sql

* add medium test

* add normal delete test

* formatting
This commit is contained in:
Mert
2025-12-03 15:19:26 -05:00
committed by GitHub
parent 45f68f73a9
commit cffb68d1c4
5 changed files with 64 additions and 10 deletions

View File

@@ -232,6 +232,7 @@ export class AssetJobRepository {
'asset.livePhotoVideoId',
'asset.encodedVideoPath',
'asset.originalPath',
'asset.isOffline',
])
.$call(withExif)
.select(withFacesAndPeople)