fix(server): only show assets 'on-this-day' with thumbnails (#2851)

This commit is contained in:
Jason Rasmussen 2023-06-19 10:12:18 -04:00 committed by GitHub
parent 3f71d2d33d
commit 6b0f91cafd
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -43,6 +43,7 @@ export class AssetRepository implements IAssetRepository {
ownerId,
isVisible: true,
isArchived: false,
resizePath: Not(IsNull()),
fileCreatedAt: OptionalBetween(date, DateTime.fromJSDate(date).plus({ day: 1 }).toJSDate()),
},
relations: {