1
0
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:
ssallam 2018-12-04 21:21:13 +01:00
parent 6d1d14dfc4
commit 04c8a7feda
2 changed files with 2 additions and 2 deletions

View File

@ -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}`
} }
} }

View File

@ -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())