1
0
mirror of https://github.com/immich-app/immich.git synced 2025-01-26 17:21:29 +02: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) {