From b38df5d5ed51819a7a78eeb619dafd55b0fb9c1f Mon Sep 17 00:00:00 2001 From: Jernej Pregelj Date: Tue, 26 Mar 2019 10:53:22 +0100 Subject: [PATCH] fix search query --- src/ocean/OceanAssets.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ocean/OceanAssets.ts b/src/ocean/OceanAssets.ts index 0107f3f..198629a 100644 --- a/src/ocean/OceanAssets.ts +++ b/src/ocean/OceanAssets.ts @@ -270,7 +270,7 @@ export class OceanAssets extends Instantiable { * @return {Promise} */ public async query(query: SearchQuery): Promise { - return this.ocean.aquarius.queryMetadataByText(query) + return this.ocean.aquarius.queryMetadata(query) } /**