refactor(server): non-nullable file metadata (#17598)

This commit is contained in:
Mert
2025-04-15 07:03:31 -04:00
committed by GitHub
parent bd92748ddd
commit c3d10c5be2
12 changed files with 49 additions and 66 deletions

View File

@@ -76,9 +76,6 @@ export class ActivityRepository {
.where('activity.albumId', '=', albumId)
.where('activity.isLiked', '=', false)
.where('assets.deletedAt', 'is', null)
.where('assets.fileCreatedAt', 'is not', null)
.where('assets.fileModifiedAt', 'is not', null)
.where('assets.localDateTime', 'is not', null)
.executeTakeFirstOrThrow();
return count;