mirror of
https://github.com/immich-app/immich.git
synced 2025-01-04 02:46:47 +01:00
fix(server) get all query does not respect asset type (#2089)
* chore: fix api * fix(server) get all query does not respect asset type
This commit is contained in:
parent
c74fba483d
commit
cd59f7aad6
1 changed files with 1 additions and 0 deletions
|
@ -29,6 +29,7 @@ export class AssetRepository implements IAssetRepository {
|
||||||
return this.repository.find({
|
return this.repository.find({
|
||||||
where: {
|
where: {
|
||||||
isVisible: options.isVisible,
|
isVisible: options.isVisible,
|
||||||
|
type: options.type,
|
||||||
},
|
},
|
||||||
relations: {
|
relations: {
|
||||||
exifInfo: true,
|
exifInfo: true,
|
||||||
|
|
Loading…
Reference in a new issue