mirror of
https://github.com/immich-app/immich.git
synced 2025-05-24 01:12:58 -04: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
@ -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…
x
Reference in New Issue
Block a user