mirror of
https://github.com/oceanprotocol-archive/squid-js.git
synced 2024-02-02 15:31:51 +01:00
Fix aquarius url and the keeper registered url type.
This commit is contained in:
parent
6d1d14dfc4
commit
04c8a7feda
@ -137,6 +137,6 @@ export default class Aquarius {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public getServiceEndpoint(did) {
|
public getServiceEndpoint(did) {
|
||||||
return `${this.url}/api/v1/provider/assets/metadata/${did}`
|
return `${this.url}/api/v1/aquarius/assets/metadata/${did}`
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -149,7 +149,7 @@ export default class Ocean {
|
|||||||
|
|
||||||
await didRegistry.registerAttribute(
|
await didRegistry.registerAttribute(
|
||||||
assetId,
|
assetId,
|
||||||
ValueType.DID,
|
ValueType.URL,
|
||||||
"Metadata",
|
"Metadata",
|
||||||
serviceEndpoint,
|
serviceEndpoint,
|
||||||
publisher.getId())
|
publisher.getId())
|
||||||
|
Loading…
Reference in New Issue
Block a user