1
0
mirror of https://github.com/immich-app/immich.git synced 2024-12-25 10:43:13 +02: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:
Alex 2023-03-26 10:41:55 -05:00 committed by GitHub
parent c74fba483d
commit cd59f7aad6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -29,6 +29,7 @@ export class AssetRepository implements IAssetRepository {
return this.repository.find({
where: {
isVisible: options.isVisible,
type: options.type,
},
relations: {
exifInfo: true,