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

Update src/aquarius/Aquarius.ts

Co-Authored-By: Matthias Kretschmann <m@kretschmann.io>
This commit is contained in:
Alex Coseru 2020-03-25 20:18:07 +02:00 committed by GitHub
parent ee3529b4fe
commit d0d7ee71cc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -230,7 +230,7 @@ export class Aquarius {
signature: string signature: string
): Promise<string> { ): Promise<string> {
did = did && DID.parse(did) did = did && DID.parse(did)
const fullUrl = `${this.url}${apiPath}/owner/update//${did.getDid()}` const fullUrl = `${this.url}${apiPath}/owner/update/${did.getDid()}`
const result = await this.fetch const result = await this.fetch
.put( .put(
fullUrl, fullUrl,