Skip to content

Commit

Permalink
fix(server): time bucket and where (immich-app#3649)
Browse files Browse the repository at this point in the history
  • Loading branch information
jrasm91 authored Aug 12, 2023
1 parent 5cd1322 commit 7948819
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/src/infra/repositories/asset.repository.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 7948819

Please sign in to comment.