mirror of
https://github.com/immich-app/immich
synced 2025-11-14 17:36:12 +00:00
fix(server): empty/restore trash (#7161)
* fix(server): empty/restore trash * add e2e tests * add e2e tests - part 2
This commit is contained in:
parent
69983ff83a
commit
0730b54ca9
5 changed files with 101 additions and 2 deletions
|
|
@ -176,7 +176,7 @@ export class AssetRepository implements IAssetRepository {
|
|||
}
|
||||
|
||||
getByUserId(pagination: PaginationOptions, userId: string, options: AssetSearchOptions = {}): Paginated<AssetEntity> {
|
||||
return this.getAll(pagination, { ...options, id: userId });
|
||||
return this.getAll(pagination, { ...options, ownerId: userId });
|
||||
}
|
||||
|
||||
@GenerateSql({ params: [[DummyValue.UUID]] })
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue