0
Fork 0
mirror of https://github.com/immich-app/immich.git synced 2025-01-21 00:52:43 -05:00

fix(server): time bucket and where (#3649)

This commit is contained in:
Jason Rasmussen 2023-08-11 21:29:42 -04:00 committed by GitHub
parent 5cd13227ad
commit 7948819e0c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -398,7 +398,7 @@ export class AssetRepository implements IAssetRepository {
}
if (userId) {
builder = builder.where('asset.ownerId = :userId', { userId });
builder = builder.andWhere('asset.ownerId = :userId', { userId });
}
if (isArchived != undefined) {