mirror of
https://github.com/immich-app/immich.git
synced 2025-12-23 01:11:36 +03:00
fix(server): time bucket and where (#3649)
This commit is contained in:
@@ -398,7 +398,7 @@ export class AssetRepository implements IAssetRepository {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (userId) {
|
if (userId) {
|
||||||
builder = builder.where('asset.ownerId = :userId', { userId });
|
builder = builder.andWhere('asset.ownerId = :userId', { userId });
|
||||||
}
|
}
|
||||||
|
|
||||||
if (isArchived != undefined) {
|
if (isArchived != undefined) {
|
||||||
|
|||||||
Reference in New Issue
Block a user