mirror of
https://github.com/KevinMidboe/immich.git
synced 2025-10-29 17:40:28 +00: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:
@@ -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,
|
||||||
|
|||||||
Reference in New Issue
Block a user