1
0
mirror of https://github.com/oceanprotocol-archive/squid-js.git synced 2024-02-02 15:31:51 +01:00

fix search query

This commit is contained in:
Jernej Pregelj 2019-03-26 10:53:22 +01:00 committed by Pedro Gutiérrez
parent 7a9cdf6966
commit b38df5d5ed

View File

@ -270,7 +270,7 @@ export class OceanAssets extends Instantiable {
* @return {Promise<DDO[]>}
*/
public async query(query: SearchQuery): Promise<DDO[]> {
return this.ocean.aquarius.queryMetadataByText(query)
return this.ocean.aquarius.queryMetadata(query)
}
/**