Przeglądaj źródła

fix(server) get all query does not respect asset type (#2089)

* chore: fix api

* fix(server) get all query does not respect asset type
Alex 2 lat temu
rodzic
commit
cd59f7aad6

+ 1 - 0
server/libs/infra/src/db/repository/asset.repository.ts

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