From 149decf5269003a74b9a826487b8eba5040bd697 Mon Sep 17 00:00:00 2001 From: Jonas Gann Date: Tue, 5 Dec 2023 16:19:47 +0100 Subject: [PATCH] fix: typo --- packages/sdk/src/endpoints/AttributesEndpoint.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/sdk/src/endpoints/AttributesEndpoint.ts b/packages/sdk/src/endpoints/AttributesEndpoint.ts index acff3306..22ebb988 100644 --- a/packages/sdk/src/endpoints/AttributesEndpoint.ts +++ b/packages/sdk/src/endpoints/AttributesEndpoint.ts @@ -26,15 +26,15 @@ export class AttributesEndpoint extends Endpoint { } public async succeedIdentityAttribute(request: SucceedIdentityAttributeRequest): Promise> { - return await this.post("/api/v2/Attributes//succeedIdentityAttribute/:id", request); + return await this.post(`/api/v2/Attributes/succeedIdentityAttribute/${request.predecessorId}`, request.successorContent); } public async succeedRelationshipAttribute(request: SucceedRelationshipAttributeRequest): Promise> { - return await this.post("/api/v2/Attributes//succeedRelationshipAttribute/:id", request); + return await this.post(`/api/v2/Attributes/succeedRelationshipAttribute/${request.predecessorId}`, request.successorContent); } public async notifyPeerAboutIdentityAttributeSuccession(request: NotifyPeerAboutIdentityAttributeSuccessionRequest): Promise> { - return await this.post("/api/v2/Attributes//notifyPeerAboutIdentityAttributeSuccession", request); + return await this.post("/api/v2/Attributes/notifyPeerAboutIdentityAttributeSuccession", request); } public async getAttributes(request: GetAttributesRequest): Promise> {