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:
commit
8f1e7b016e
@ -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}`
|
||||
}
|
||||
}
|
||||
|
@ -149,7 +149,7 @@ export default class Ocean {
|
||||
|
||||
await didRegistry.registerAttribute(
|
||||
assetId,
|
||||
ValueType.DID,
|
||||
ValueType.URL,
|
||||
"Metadata",
|
||||
serviceEndpoint,
|
||||
publisher.getId())
|
||||
|
Loading…
Reference in New Issue
Block a user