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

fix endpoint changed in aqua

will retrigger test when aqua it's ready
This commit is contained in:
Alex Coseru 2020-04-08 16:49:22 +03:00 committed by GitHub
parent 06e5e6bf6c
commit a3d46cb19b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -276,7 +276,7 @@ export class Aquarius {
signature: string
): Promise<string> {
did = did && DID.parse(did)
const fullUrl = `${this.url}${apiPath}/metadata/update/${did.getDid()}`
const fullUrl = `${this.url}${apiPath}/metadata/${did.getDid()}`
const data = Object()
if (newMetadata.description != null) data.description = newMetadata.description
if (newMetadata.title != null) data.title = newMetadata.title