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:
parent
7a9cdf6966
commit
b38df5d5ed
@ -270,7 +270,7 @@ export class OceanAssets extends Instantiable {
|
|||||||
* @return {Promise<DDO[]>}
|
* @return {Promise<DDO[]>}
|
||||||
*/
|
*/
|
||||||
public async query(query: SearchQuery): Promise<DDO[]> {
|
public async query(query: SearchQuery): Promise<DDO[]> {
|
||||||
return this.ocean.aquarius.queryMetadataByText(query)
|
return this.ocean.aquarius.queryMetadata(query)
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
Reference in New Issue
Block a user