mirror of
https://github.com/oceanprotocol-archive/squid-js.git
synced 2024-02-02 15:31:51 +01:00
fix
This commit is contained in:
parent
58a1345e36
commit
ee3529b4fe
@ -311,8 +311,8 @@ export class OceanAssets extends Instantiable {
|
||||
* @return {Promise<string>} Returns Account ID
|
||||
*/
|
||||
public async owner(did: string): Promise<string> {
|
||||
return await this.ocean.keeper.didRegistry.getDIDOwner(did)
|
||||
|
||||
const owner = await this.ocean.keeper.didRegistry.getDIDOwner(did)
|
||||
return owner
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -75,7 +75,7 @@ describe('Asset Owners', () => {
|
||||
const { length: initialLength } = await ocean.assets.consumerAssets(
|
||||
account2.getId()
|
||||
)
|
||||
|
||||
|
||||
const ddo = await ocean.assets.create(metadata as any, account1)
|
||||
const { length: finalLength1 } = await ocean.assets.consumerAssets(
|
||||
account2.getId()
|
||||
|
Loading…
Reference in New Issue
Block a user