mirror of
https://github.com/oceanprotocol/ocean.js.git
synced 2024-11-26 20:39:05 +01:00
fix resolve
This commit is contained in:
parent
08abba772e
commit
e3d66417a4
@ -196,8 +196,7 @@ export class Assets extends Instantiable {
|
||||
* @return {Promise<DDO>}
|
||||
*/
|
||||
public async resolve(did: string): Promise<DDO> {
|
||||
const serviceEndpoint = 'https://123.com'
|
||||
return this.ocean.aquarius.retrieveDDOByUrl(serviceEndpoint)
|
||||
return this.ocean.aquarius.retrieveDDO(did)
|
||||
}
|
||||
|
||||
public async resolveByDTAddress(
|
||||
|
Loading…
x
Reference in New Issue
Block a user