1
0
mirror of https://github.com/oceanprotocol-archive/squid-js.git synced 2024-02-02 15:31:51 +01:00

Merge pull request #63 from oceanprotocol/defect/fix-aquarius-url-and-registered-type

defect/fix-aquarius-url-and-registered-type
This commit is contained in:
Sebastian Gerske 2018-12-05 08:17:17 +01:00 committed by GitHub
commit 8f1e7b016e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -137,6 +137,6 @@ export default class Aquarius {
}
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(
assetId,
ValueType.DID,
ValueType.URL,
"Metadata",
serviceEndpoint,
publisher.getId())